40 #ifndef _GlsLodGroup_H
41 #define _GlsLodGroup_H
49 #if( defined( GLSGEN_EXPORT_GlsLodGroup ) || defined( GLSGEN_IMPORT_GlsLodGroup ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
50 && defined( _MSC_VER )
51 # if defined( GLSGEN_EXPORT_GlsLodGroup ) || defined( GLS_EXPORT_GENERATED )
52 # define GLSGEN_GlsLodGroup_EXPORT __declspec( dllexport )
54 # define GLSGEN_GlsLodGroup_EXPORT __declspec( dllimport )
57 # define GLSGEN_GlsLodGroup_EXPORT
61 #define LIB_BASE_NAME "gls_lod_group"
68 class GlsGloFileAttribute;
72 GLS_LOD_GROUP_DISTANCE_RANGE = GLS_LAST_INITIALIZER + 1,
73 GLS_LOD_GROUP_LOD_POSITIONS
74 } GLS_LodGroup_Initializers;
86 friend class GlsLodGroupEditor;
92 GLSGEN_GlsLodGroup_EXPORT
GlsLodGroup(
bool generateInstance =
false );
94 GLSGEN_GlsLodGroup_EXPORT
GlsLodGroup(
const GlsLodGroup& that,
const bool generateNames );
99 static GLSGEN_GlsLodGroup_EXPORT
DisplayObject* CreateInstance();
101 static GLSGEN_GlsLodGroup_EXPORT
void GroupDebugCommand(
const char* cmd,
const char* arg );
112 virtual GLSGEN_GlsLodGroup_EXPORT
void Draw(
void );
115 virtual GLSGEN_GlsLodGroup_EXPORT
int NumLods();
123 virtual GLSGEN_GlsLodGroup_EXPORT
void InsertObject(
DisplayObject* obj,
bool reparent =
true,
bool recalculateBoundingbox =
true,
int loc = -1 );
125 virtual GLSGEN_GlsLodGroup_EXPORT
float GetLodPosition(
int index );
129 virtual GLSGEN_GlsLodGroup_EXPORT
void SetValue(
int spec, va_list& args );
143 GlsLodGroup& operator=(
const GlsLodGroup& rhs );
147 float _distanceRange;
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:276
virtual void SetAvailableAttributes(unsigned int value)
Definition: gls_glo_file.h:982
virtual void SetValue(int spec, va_list &args)
GlsLodGroup(bool generateInstance=false)
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler)
Macros and helper code to determine what subset of C++11/14/17 is available.
Definition: gls_lod_group.h:81
Definition: bmpimage.h:46
virtual void InsertObject(DisplayObject *obj, bool reparent=true, bool recalculateBoundingbox=true, int loc=-1)