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;
84 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
91 GLSGEN_GLSCLIPPINGGROUP_EXPORT
explicit GlsClippingGroup(
bool generateInstance =
false );
97 GLSGEN_GLSCLIPPINGGROUP_EXPORT
GlsClippingGroup(
const GlsClippingGroup& clippingGroup,
bool generateInstance );
102 static GLSGEN_GLSCLIPPINGGROUP_EXPORT
DisplayObject* CreateInstance();
115 virtual GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Draw(
void );
118 const Vector& logicalCoords,
120 const Vector& directionVector,
124 virtual GLSGEN_GLSCLIPPINGGROUP_EXPORT
void SetValue(
int spec, va_list& args );
131 GLSGEN_GLSCLIPPINGGROUP_EXPORT
bool ClippingActive(
void ) {
return _clippingActive; }
139 GLSGEN_GLSCLIPPINGGROUP_EXPORT
Vector Blc(
void ) {
return _blc; }
144 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Blc(
const Vector& value );
147 GLSGEN_GLSCLIPPINGGROUP_EXPORT
Vector Trc(
void ) {
return _trc; }
152 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void Trc(
const Vector& value );
155 GLSGEN_GLSCLIPPINGGROUP_EXPORT
bool ShowOutline(
void ) {
return _showOutline; }
160 GLSGEN_GLSCLIPPINGGROUP_EXPORT
void ShowOutline(
bool value );
178 bool _clippingActive;
185 void operator=(
const GlsClippingGroup& );
virtual DisplayObject * CloneObject(bool generateNames=false)
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
Definition: dynamic_array.h:66
virtual ~GlsClippingGroup()
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:296
virtual void SetValue(int spec, va_list &args)
virtual void SetAvailableAttributes(unsigned int value)
Vector Blc(void)
Definition: gls_clipping_group.h:139
Definition: gls_glo_file.h:988
Definition: gls_clipping_group.h:80
bool ShowOutline(void)
Definition: gls_clipping_group.h:155
bool ClippingActive(void)
Definition: gls_clipping_group.h:131
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:147
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)