41 #ifndef INCLUDED_GLS_CLIPPING_GROUP_H
42 #define INCLUDED_GLS_CLIPPING_GROUP_H
47 #if (defined(GLSGEN_EXPORT_GLSCLIPPINGGROUP) || \
48 defined(GLSGEN_IMPORT_GLSCLIPPINGGROUP) || \
49 defined(GLS_EXPORT_GENERATED) || \
50 defined(GLS_IMPORT_GENERATED)) \
52 # if defined(GLSGEN_EXPORT_GLSCLIPPINGGROUP) || defined(GLS_EXPORT_GENERATED)
53 # define GLSGEN_GLSCLIPPINGGROUP_EXPORT __declspec(dllexport)
55 # define GLSGEN_GLSCLIPPINGGROUP_EXPORT __declspec(dllimport)
58 # define GLSGEN_GLSCLIPPINGGROUP_EXPORT
62 #define LIB_BASE_NAME "gls_clipping_group"
75 GLS_CLIPPING_GROUP_STATE = GLS_LAST_INITIALIZER+1,
76 GLS_CLIPPING_GROUP_CLIPPING_ACTIVE,
77 GLS_CLIPPING_GROUP_BOTTOM_LEFT_CORNER,
78 GLS_CLIPPING_GROUP_TOP_RIGHT_CORNER,
79 GLS_CLIPPING_GROUP_SHOW_OUTLINE
87 friend class GlsClippingGroupEditor;
93 GLSGEN_GLSCLIPPINGGROUP_EXPORT
explicit GlsClippingGroup(
bool generateInstance=
false);
99 GLSGEN_GLSCLIPPINGGROUP_EXPORT
GlsClippingGroup(
const GlsClippingGroup& clippingGroup,
bool generateInstance );
104 static GLSGEN_GLSCLIPPINGGROUP_EXPORT
DisplayObject* CreateInstance();
117 virtual GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Draw(
void);
120 const Vector& logicalCoords,
122 const Vector& directionVector,
126 virtual GLSGEN_GLSCLIPPINGGROUP_EXPORT
void SetValue(
int spec,va_list &args);
133 GLSGEN_GLSCLIPPINGGROUP_EXPORT
bool ClippingActive(
void) {
return _clippingActive; }
141 GLSGEN_GLSCLIPPINGGROUP_EXPORT
Vector Blc(
void) {
return _blc; }
146 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Blc(
const Vector &value);
149 GLSGEN_GLSCLIPPINGGROUP_EXPORT
Vector Trc(
void) {
return _trc; }
154 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Trc(
const Vector &value);
157 GLSGEN_GLSCLIPPINGGROUP_EXPORT
bool ShowOutline(
void) {
return _showOutline; }
162 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void ShowOutline(
bool value);
177 virtual void SetFromGloData(GlsGloFileAttribute &data);
180 bool _clippingActive;
187 void operator=(
const GlsClippingGroup& );
virtual DisplayObject * CloneObject(bool generateNames=false)
Definition: dynamic_array.h:63
virtual ~GlsClippingGroup()
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:289
virtual void SetValue(int spec, va_list &args)
virtual void SetAvailableAttributes(unsigned int value)
Vector Blc(void)
Definition: gls_clipping_group.h:141
Definition: gls_clipping_group.h:83
bool ShowOutline(void)
Definition: gls_clipping_group.h:157
bool ClippingActive(void)
Definition: gls_clipping_group.h:133
void GetClipRegionCorners(Vector &tlc, Vector &trc, Vector &brc, Vector &blc)
virtual void CopyProperties(DisplayObject *src)
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
Vector Trc(void)
Definition: gls_clipping_group.h:149
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices)
Definition: bmpimage.h:46
GlsClippingGroup(bool generateInstance=false)
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)