40 #ifndef _GlsLodGroup_H
41 #define _GlsLodGroup_H
50 #if (defined(GLSGEN_EXPORT_GlsLodGroup) || \
51 defined(GLSGEN_IMPORT_GlsLodGroup) || \
52 defined(GLS_EXPORT_GENERATED) || \
53 defined(GLS_IMPORT_GENERATED)) \
55 # if defined(GLSGEN_EXPORT_GlsLodGroup) || defined(GLS_EXPORT_GENERATED)
56 # define GLSGEN_GlsLodGroup_EXPORT __declspec(dllexport)
58 # define GLSGEN_GlsLodGroup_EXPORT __declspec(dllimport)
61 # define GLSGEN_GlsLodGroup_EXPORT
65 #define LIB_BASE_NAME "gls_lod_group"
73 class GlsGloFileAttribute;
77 GLS_LOD_GROUP_DISTANCE_RANGE = GLS_LAST_INITIALIZER + 1,
78 GLS_LOD_GROUP_LOD_POSITIONS
79 } GLS_LodGroup_Initializers;
90 friend class GlsLodGroupEditor;
96 GLSGEN_GlsLodGroup_EXPORT
GlsLodGroup(
bool generateInstance=
false);
98 GLSGEN_GlsLodGroup_EXPORT
GlsLodGroup(
const GlsLodGroup& that,
const bool generateNames );
103 static GLSGEN_GlsLodGroup_EXPORT
DisplayObject* CreateInstance();
105 static GLSGEN_GlsLodGroup_EXPORT
void GroupDebugCommand(
const char * cmd,
const char * arg);
116 virtual GLSGEN_GlsLodGroup_EXPORT
void Draw(
void);
119 virtual GLSGEN_GlsLodGroup_EXPORT
int NumLods();
127 virtual GLSGEN_GlsLodGroup_EXPORT
void InsertObject(
DisplayObject *obj,
bool reparent=
true,
bool recalculateBoundingbox =
true,
int loc=-1);
129 virtual GLSGEN_GlsLodGroup_EXPORT
float GetLodPosition(
int index );
135 virtual GLSGEN_GlsLodGroup_EXPORT
void SetValue(
int spec, va_list &args);
141 virtual GLSGEN_GlsLodGroup_EXPORT
void SetFromGloData(GlsGloFileAttribute &data);
150 GlsLodGroup& operator=(
const GlsLodGroup &rhs );
154 float _distanceRange;
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:281
virtual void SetAvailableAttributes(unsigned int value)
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:85
Definition: bmpimage.h:46
virtual void InsertObject(DisplayObject *obj, bool reparent=true, bool recalculateBoundingbox=true, int loc=-1)