Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GeoPatch Class Reference

#include <GeoPatch.h>

Public Member Functions

 GeoPatch (const RefCountedPtr< GeoPatchContext > &_ctx, GeoSphere *gs, const vector3d &v0_, const vector3d &v1_, const vector3d &v2_, const vector3d &v3_, const int depth, const GeoPatchID &ID_)
 
 ~GeoPatch ()
 
void NeedToUpdateVBOs ()
 
void UpdateVBOs (Graphics::Renderer *renderer)
 
int GetChildIdx (const GeoPatch *child) const
 
vector3d GetSpherePoint (const double x, const double y) const
 
void Render (Graphics::Renderer *r, const vector3d &campos, const matrix4x4d &modelView, const Graphics::Frustum &frustum)
 
bool canBeMerged () const
 
void LODUpdate (const vector3d &campos, const Graphics::Frustum &frustum)
 
void RequestSinglePatch ()
 
void ReceiveHeightmaps (SQuadSplitResult *psr)
 
void ReceiveHeightmap (const SSingleSplitResult *psr)
 
void ReceiveHeightResult (const SSplitResultData &data)
 
void ReceiveJobHandle (Job::Handle job)
 
bool HasHeightData () const
 

Constructor & Destructor Documentation

◆ GeoPatch()

GeoPatch::GeoPatch ( const RefCountedPtr< GeoPatchContext > &  _ctx,
GeoSphere gs,
const vector3d v0_,
const vector3d v1_,
const vector3d v2_,
const vector3d v3_,
const int  depth,
const GeoPatchID ID_ 
)
Here is the call graph for this function:

◆ ~GeoPatch()

GeoPatch::~GeoPatch ( )

Member Function Documentation

◆ canBeMerged()

bool GeoPatch::canBeMerged ( ) const
inline

◆ GetChildIdx()

int GeoPatch::GetChildIdx ( const GeoPatch child) const
inline

◆ GetSpherePoint()

vector3d GeoPatch::GetSpherePoint ( const double  x,
const double  y 
) const
inline
Here is the call graph for this function:

◆ HasHeightData()

bool GeoPatch::HasHeightData ( ) const
inline

◆ LODUpdate()

void GeoPatch::LODUpdate ( const vector3d campos,
const Graphics::Frustum frustum 
)
Here is the call graph for this function:

◆ NeedToUpdateVBOs()

void GeoPatch::NeedToUpdateVBOs ( )
inline

◆ ReceiveHeightmap()

void GeoPatch::ReceiveHeightmap ( const SSingleSplitResult psr)
Here is the call graph for this function:

◆ ReceiveHeightmaps()

void GeoPatch::ReceiveHeightmaps ( SQuadSplitResult psr)
Here is the call graph for this function:

◆ ReceiveHeightResult()

void GeoPatch::ReceiveHeightResult ( const SSplitResultData data)
Here is the call graph for this function:

◆ ReceiveJobHandle()

void GeoPatch::ReceiveJobHandle ( Job::Handle  job)
Here is the call graph for this function:

◆ Render()

void GeoPatch::Render ( Graphics::Renderer r,
const vector3d campos,
const matrix4x4d modelView,
const Graphics::Frustum frustum 
)
Here is the call graph for this function:

◆ RequestSinglePatch()

void GeoPatch::RequestSinglePatch ( )
Here is the call graph for this function:

◆ UpdateVBOs()

void GeoPatch::UpdateVBOs ( Graphics::Renderer renderer)
Here is the call graph for this function:

The documentation for this class was generated from the following files: