40#ifndef INCLUDED_DISTI_GROUP_H
41#define INCLUDED_DISTI_GROUP_H
55 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
66 bool _performGroupCullCheck;
70 bool _cullTestChildren;
78 void DummySetUnsignedInt( const
unsigned int& ) {}
96 friend class GroupEditor;
238 const
Vector& logicalCoords,
240 const
Vector& directionVector,
446 virtual GLS_EXPORT void SetGroupTextureRepeat(
const int mode );
Definition: display_frame.h:87
virtual DisplayObject * handle(DisplayEvent *ev)
unsigned Count() const
Definition: dynamic_array.h:218
Definition: gls_color.h:54
Definition: gls_painter.h:51
Definition: gls_resources.h:51
static void RecalcCompatabilityList(Group *whichGroup)
Group * _parentGroup
This group's parent group.
Definition: group.h:412
DisplayObject * DataPtr()
unsigned int _index
The underlying index of this child object.
Definition: group.h:411
CompatabilityListItem * Next()
CompatabilityListItem * Prev()
virtual int PolygonMode() override
void PerformGroupCullCheck(bool mode)
virtual int TextureMagnificationFilter() override
DisplayObjectPtr operator[](unsigned int index)
Definition: group.h:178
virtual void ReorderObject(unsigned int oldIndex, unsigned int newIndex)
virtual GlsColor GetBlendColor() override
void SetPainter(GlsPainter *painter) override
virtual void DeleteAllChildren()
virtual void Calculate(double time) override
virtual DisplayObject * CloneObject(bool generateNames=false) override
CompatabilityListItem * Last()
virtual void SetGroupLocation(const Vertex &v)
virtual void Scale(float scale_x, float scale_y)
bool PerformGroupCullCheck() const
Definition: group.h:159
virtual void TranslateVertices(float x, float y, float z) override
virtual float LineWidth() override
const DisplayObject * operator[](unsigned int index) const
Definition: group.h:183
virtual int TextureMappingTechnique() override
virtual void Rotate(const Vector &orig, float angle, const Vector &axis) override
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter=NULL) override
virtual void SetAvailableAttributes(unsigned int value) override
virtual GlsColor GetColor() override
DisplayObject * LastObject()
DisplayObject * FirstObject()
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) override
virtual int LineStippleMultiplier() override
DisplayObjectArray _objects
The objects contained in this group.
Definition: group.h:83
virtual int LineStipplePattern() override
const DisplayObjectArray & Objects() const
Definition: group.h:150
virtual int TextureMinificationFilter() override
void CullTestChildren(bool mode)
int Position(const DisplayObject *obj) const
DisplayObjectArray & Objects()
Definition: group.h:147
unsigned int Count() const
Definition: group.h:173
virtual bool DeleteObject(DisplayObject *obj, bool recalculateBoundingbox=true)
virtual GlsColor GetFillColor() override
DynamicArray< CompatabilityListItem > _compatList
Used for GL Studio 2.1 compatibility only.
Definition: group.h:439
virtual void CalculateBoundingBox()
DisplayObject * FindByName(const char *name)
Group(int generateInstance=0)
virtual void CalculateTextureCoordinates() override
virtual void SetColor(const GlsColor &color) override
virtual void SetFillColor(const GlsColor &color) override
virtual void GetExtents(float &x, float &y, float &z, float &x1, float &y1, float &z1) override
DisplayObject * FindNonRecursive(DisplayObject *obj)
static DisplayObject * CreateInstance()
bool IsEmpty() const
Definition: group.h:192
virtual bool CullBackFace() override
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) override
virtual bool LightingEnabled() override
virtual bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint) override
virtual void CopyProperties(DisplayObject *src) override
virtual int AlphaMode() override
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) override
virtual bool AntiAlias() override
void InsertVertexAt(unsigned) override
Definition: group.h:312
virtual void Draw() override
virtual void InsertObject(DisplayObject *obj, bool reparent=true, bool recalculateBoundingbox=true, int loc=-1)
Group(const Group &group, bool generateNames)
virtual void Translate(float x, float y, float z) override
virtual int Shading() override
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler) override
virtual const Vertex & Location() const
DisplayFrame * Parent() const
Definition: display.h:945
void InitialGroupCount(unsigned int cnt)
virtual void AddAvailableAttributes(unsigned int availableAttributes)
virtual bool TextureRepeat()
virtual void GrowBoundingBox(DisplayObject *obj)
void DeleteVertexAt(unsigned) override
Definition: group.h:309
virtual int PolygonEnd() override
virtual void GetTransformedExtents(Vector &min, Vector &max, const GlsMatrixType &matrix, bool resetMinMax=true) override
CompatabilityListItem * First()
virtual void CopyGeometry(DisplayObject *src) override
DisplayObject * Item(unsigned int index)
DisplayObject * FindByName(DisplayObject *obj)
Definition: group.h:127
virtual void SetBlendColor(const GlsColor &color) override
virtual void PushObject(DisplayObject *obj)
virtual DisplayObject * FindByNameSameFrame(const char *name)
DisplayObject * FindByQualifiedName(const char *name)
bool CullTestChildren() const
Definition: group.h:166
virtual int DepthTest() override
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:544
The disti::DisplayObject class and global enumerations.
The disti::DynamicArray class. A templated array of objects capable of dynamically growing.
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_SPECIAL_MEM_FUN_DELETE
Macro to wrap function deletion, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:235
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:457
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
DistiAttribDict::const_iterator begin(const DistiAttribDict &dict)
Definition: disti_metadata.h:954
DistiAttribDict::const_iterator end(const DistiAttribDict &dict)
Definition: disti_metadata.h:959
#define FALSE
False macro, for backward compatibility purposes.
Definition: util.h:107