41 #ifndef INCLUDED_GLS_CLIPPING_GROUP_H
42 #define INCLUDED_GLS_CLIPPING_GROUP_H
47 #if( defined( GLSGEN_EXPORT_GLSCLIPPINGGROUP ) || defined( GLSGEN_IMPORT_GLSCLIPPINGGROUP ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
48 && defined( _MSC_VER )
49 # if defined( GLSGEN_EXPORT_GLSCLIPPINGGROUP ) || defined( GLS_EXPORT_GENERATED )
50 # define GLSGEN_GLSCLIPPINGGROUP_EXPORT __declspec( dllexport )
52 # define GLSGEN_GLSCLIPPINGGROUP_EXPORT __declspec( dllimport )
55 # define GLSGEN_GLSCLIPPINGGROUP_EXPORT
59 #define LIB_BASE_NAME "gls_clipping_group"
72 GLS_CLIPPING_GROUP_STATE = GLS_LAST_INITIALIZER + 1,
73 GLS_CLIPPING_GROUP_CLIPPING_ACTIVE,
74 GLS_CLIPPING_GROUP_BOTTOM_LEFT_CORNER,
75 GLS_CLIPPING_GROUP_TOP_RIGHT_CORNER,
76 GLS_CLIPPING_GROUP_SHOW_OUTLINE
83 friend class GlsClippingGroupEditor;
89 GLSGEN_GLSCLIPPINGGROUP_EXPORT
explicit GlsClippingGroup(
bool generateInstance =
false );
95 GLSGEN_GLSCLIPPINGGROUP_EXPORT
GlsClippingGroup(
const GlsClippingGroup& clippingGroup,
bool generateInstance );
100 static GLSGEN_GLSCLIPPINGGROUP_EXPORT
DisplayObject* CreateInstance();
113 virtual GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Draw(
void );
116 const Vector& logicalCoords,
118 const Vector& directionVector,
122 virtual GLSGEN_GLSCLIPPINGGROUP_EXPORT
void SetValue(
int spec, va_list& args );
129 GLSGEN_GLSCLIPPINGGROUP_EXPORT
bool ClippingActive(
void ) {
return _clippingActive; }
137 GLSGEN_GLSCLIPPINGGROUP_EXPORT
Vector Blc(
void ) {
return _blc; }
142 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Blc(
const Vector& value );
145 GLSGEN_GLSCLIPPINGGROUP_EXPORT
Vector Trc(
void ) {
return _trc; }
150 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Trc(
const Vector& value );
153 GLSGEN_GLSCLIPPINGGROUP_EXPORT
bool ShowOutline(
void ) {
return _showOutline; }
158 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void ShowOutline(
bool value );
176 bool _clippingActive;
183 void operator=(
const GlsClippingGroup& );
virtual DisplayObject * CloneObject(bool generateNames=false)
Definition: dynamic_array.h:62
virtual ~GlsClippingGroup()
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:301
virtual void SetValue(int spec, va_list &args)
virtual void SetAvailableAttributes(unsigned int value)
Vector Blc(void)
Definition: gls_clipping_group.h:137
Definition: gls_glo_file.h:982
Definition: gls_clipping_group.h:80
bool ShowOutline(void)
Definition: gls_clipping_group.h:153
bool ClippingActive(void)
Definition: gls_clipping_group.h:129
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:145
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)