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;
84 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
88 friend class GlsLodGroupEditor;
94 GLSGEN_GlsLodGroup_EXPORT
explicit GlsLodGroup(
bool generateInstance =
false );
96 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 );
106 virtual GLSGEN_GlsLodGroup_EXPORT
int NumLods();
107 virtual GLSGEN_GlsLodGroup_EXPORT
float GetLodPosition(
int index );
117 GLSGEN_GlsLodGroup_EXPORT
void Draw() DISTI_METHOD_OVERRIDE;
126 GLSGEN_GlsLodGroup_EXPORT
void InsertObject(
DisplayObject* obj,
bool reparent =
true,
bool recalculateBoundingbox =
true,
int loc = -1 ) DISTI_METHOD_OVERRIDE;
130 GLSGEN_GlsLodGroup_EXPORT
void SetValue(
int spec, va_list& args ) DISTI_METHOD_OVERRIDE;
136 GLSGEN_GlsLodGroup_EXPORT
void SetFromGloData(
GlsGloFileAttribute& data ) DISTI_METHOD_OVERRIDE;
141 GlsLodGroup& operator=(
const GlsLodGroup& rhs ) DISTI_SPECIAL_MEM_FUN_DELETE;
142 GlsLodGroup(
const GlsLodGroup& src ) DISTI_SPECIAL_MEM_FUN_DELETE;
145 float _distanceRange;
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:471
void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler) DISTI_METHOD_OVERRIDE
void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
Definition: gls_glo_file.h:988
void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
GlsLodGroup(bool generateInstance=false)
void Draw() DISTI_METHOD_OVERRIDE
void InsertObject(DisplayObject *obj, bool reparent=true, bool recalculateBoundingbox=true, int loc=-1) DISTI_METHOD_OVERRIDE
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