GlobeEngine
geSpatial::CullableSpatialKey2< T > Class Template Reference

#include <CullableSpatialKey.h>

Inheritance diagram for geSpatial::CullableSpatialKey2< T >:
geSpatial::CullableSpatialTreeKey< 2, T > geSpatial::SpatialTreeKey< D, T >

Public Member Functions

 CullableSpatialKey2 ()
 
 CullableSpatialKey2 (short _lod)
 
 CullableSpatialKey2 (short _lod, unsigned int _x, unsigned int _y)
 
void setInitial (short _lod, unsigned int _x, unsigned int _y)
 
 CullableSpatialKey2 (const std::shared_ptr< CullableSpatialKey2 > _copy)
 
std::shared_ptr< CullableSpatialKey2< T > > getParentKey ()
 
std::shared_ptr< CullableSpatialKey2< T > > getChildKey (int _idx)
 
int getChildKeyInDirectionTo (std::shared_ptr< CullableSpatialKey2< T > > _key)
 
int getChildIdxInDirectionTo (std::shared_ptr< CullableSpatialKey2< T > > _key)
 
bool operator< (const CullableSpatialKey2 &_other) const
 
bool operator== (const CullableSpatialKey2 &other) const
 
unsigned int getX ()
 
void setX (unsigned int _in)
 
unsigned int getY ()
 
void setY (unsigned int _in)
 
- Public Member Functions inherited from geSpatial::CullableSpatialTreeKey< 2, T >
void clearCullability ()
 
void isRequestable (bool _in)
 
bool isRequestable () const
 
void isLoaded (bool _in)
 
bool isLoaded () const
 
void isRemoved (bool _in)
 
bool isRemoved () const
 
void isRequestabilityTested (bool _in)
 
bool isRequestabilityTested () const
 
void isInViewFrustum (bool _in)
 
bool isInViewFrustum () const
 
void isFarFromViewFrustum (bool _in)
 
bool isFarFromViewFrustum () const
 
void setDistanceToCamera (double _in)
 
double getDistanceToCamera () const
 
- Public Member Functions inherited from geSpatial::SpatialTreeKey< D, T >
 SpatialTreeKey ()
 
 SpatialTreeKey (short _lod)
 
short getLod () const
 
void setLod (short _in)
 
const T * getCoord () const
 
std::string getKeyAsString ()
 

Additional Inherited Members

- Protected Attributes inherited from geSpatial::CullableSpatialTreeKey< 2, T >
bool requestabilityTested
 
bool requestable
 
bool loaded
 
bool removed
 
bool inViewFrustum
 
bool farFromViewFrustum
 
double cameraDistance
 
- Protected Attributes inherited from geSpatial::SpatialTreeKey< D, T >
short lod
 
coord [D]
 

Constructor & Destructor Documentation

template<class T >
geSpatial::CullableSpatialKey2< T >::CullableSpatialKey2 ( )
inline
template<class T >
geSpatial::CullableSpatialKey2< T >::CullableSpatialKey2 ( short  _lod)
inline
template<class T >
geSpatial::CullableSpatialKey2< T >::CullableSpatialKey2 ( short  _lod,
unsigned int  _x,
unsigned int  _y 
)
inline
template<class T >
geSpatial::CullableSpatialKey2< T >::CullableSpatialKey2 ( const std::shared_ptr< CullableSpatialKey2< T > >  _copy)
inline

Member Function Documentation

template<class T >
int geSpatial::CullableSpatialKey2< T >::getChildIdxInDirectionTo ( std::shared_ptr< CullableSpatialKey2< T > >  _key)
inline
template<class T >
std::shared_ptr< CullableSpatialKey2<T> > geSpatial::CullableSpatialKey2< T >::getChildKey ( int  _idx)
inline
template<class T >
int geSpatial::CullableSpatialKey2< T >::getChildKeyInDirectionTo ( std::shared_ptr< CullableSpatialKey2< T > >  _key)
inline
template<class T >
std::shared_ptr< CullableSpatialKey2<T> > geSpatial::CullableSpatialKey2< T >::getParentKey ( )
inline
template<class T >
unsigned int geSpatial::CullableSpatialKey2< T >::getX ( )
inline
template<class T >
unsigned int geSpatial::CullableSpatialKey2< T >::getY ( )
inline
template<class T >
bool geSpatial::CullableSpatialKey2< T >::operator< ( const CullableSpatialKey2< T > &  _other) const
inline
template<class T >
bool geSpatial::CullableSpatialKey2< T >::operator== ( const CullableSpatialKey2< T > &  other) const
inline
template<class T >
void geSpatial::CullableSpatialKey2< T >::setInitial ( short  _lod,
unsigned int  _x,
unsigned int  _y 
)
inline
template<class T >
void geSpatial::CullableSpatialKey2< T >::setX ( unsigned int  _in)
inline
template<class T >
void geSpatial::CullableSpatialKey2< T >::setY ( unsigned int  _in)
inline

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