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;
85 friend class GlsLodGroupEditor;
91 GLSGEN_GlsLodGroup_EXPORT
GlsLodGroup(
bool generateInstance =
false );
93 GLSGEN_GlsLodGroup_EXPORT
GlsLodGroup(
const GlsLodGroup& that,
const bool generateNames );
98 static GLSGEN_GlsLodGroup_EXPORT
DisplayObject* CreateInstance();
100 static GLSGEN_GlsLodGroup_EXPORT
void GroupDebugCommand(
const char* cmd,
const char* arg );
111 virtual GLSGEN_GlsLodGroup_EXPORT
void Draw(
void );
114 virtual GLSGEN_GlsLodGroup_EXPORT
int NumLods();
122 virtual GLSGEN_GlsLodGroup_EXPORT
void InsertObject(
DisplayObject* obj,
bool reparent =
true,
bool recalculateBoundingbox =
true,
int loc = -1 );
124 virtual GLSGEN_GlsLodGroup_EXPORT
float GetLodPosition(
int index );
128 virtual GLSGEN_GlsLodGroup_EXPORT
void SetValue(
int spec, va_list& args );
142 GlsLodGroup& operator=(
const GlsLodGroup& rhs );
146 float _distanceRange;
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:278
virtual void SetAvailableAttributes(unsigned int value)
Definition: gls_glo_file.h:835
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:80
Definition: bmpimage.h:46
virtual void InsertObject(DisplayObject *obj, bool reparent=true, bool recalculateBoundingbox=true, int loc=-1)