GL Studio SCECpp Runtime Library
|
#include <gls_composite_object.h>
Classes | |
struct | InitParameters |
Public Member Functions | |
virtual void | SetChildrenAlphaMode (const GlsAlphaMode alphaMode)=0 |
virtual void | SetChildrenFillColor (const GlsColor &fillColor)=0 |
virtual void | SetChildrenLineColor (const GlsColor &lineColor)=0 |
virtual void | SetChildrenLineWidth (const GlsFloat32 lineWidth)=0 |
virtual void | SetChildrenPolygonMode (const GlsPolygonMode polygonMode)=0 |
Public Member Functions inherited from GlsDisplayObject | |
virtual void | Draw (GlsStateManager &gl, const GlsFloat64 time)=0 |
virtual void | Calculate (const GlsFloat64 time) |
virtual GlsDisplayObject * | PickTest (const GlsVector2D &windowCoord, GlsInputManager &inputManager, const GlsMatrixAffineD::GLMatrixAffineF &parentDrawMatrix) |
GlsDisplayObject * | HandleEvent (GlsEvent &event) |
ObjectType | GetObjectType (void) const |
void | SetBlinking (const GlsBool blinking) |
void | SetBlinkRate (const GlsFloat32 blinkRate) |
void | SetDynamicRotation (const GlsVector3D &dynamicRotation) |
void | SetDynamicScale (const GlsVector3D &dynamicScale) |
void | SetDynamicTranslation (const GlsVector3D &dynamicTranslation) |
void | SetVisibility (const GlsBool visible) |
void | SetParent (GlsDisplayObject *const parent) |
void | SetPickMode (const PickMode pickMode) |
GlsBool | NeedCalculate (void) const |
void | InvalidatePickCache (void) |
Protected Member Functions | |
GlsCompositeObject (const InitParameters &initParameters, GlsEventDispatcher *const eventDispatcher) | |
virtual | ~GlsCompositeObject () |
Protected Member Functions inherited from GlsDisplayObject | |
GlsDisplayObject (const InitParameters &initParameters, const ObjectType objectType, GlsEventDispatcher *const eventDispatcher) | |
virtual | ~GlsDisplayObject () |
GlsBool | CalcDrawMatrix (const GlsMatrixAffineD *const additionalTransform, const GlsBool includeLocation) |
virtual void | CalcWindowPickRegion (GlsInputManager &inputManager, const GlsMatrixAffineD::GLMatrixAffineF &parentDrawMatrix) |
GlsBool | IsBlinkedOff (const GlsFloat64 time) const |
The GlsCompositeObject is an abstract base class that serves as an interface for manipulating sets of display objects.
|
protected |
Constructor - create instance
initParameters | initialization parameters for instance |
eventDispatcher | event dispatcher for this object else GLS_NULL |
|
protectedvirtual |
Destructor - shall never be called
|
pure virtual |
Set the alpha mode of the contained objects
alphaMode | desired alpha mode |
Implemented in GlsComponentBase, and GlsGroup.
|
pure virtual |
Set the fill color of the contained objects
fillColor | desired fill color |
Implemented in GlsComponentBase, and GlsGroup.
|
pure virtual |
Set the line color of the contained objects
lineColor | desired line color |
Implemented in GlsComponentBase, and GlsGroup.
|
pure virtual |
Set the line width of the contained objects
lineWidth | new line width, GlsRenderObject::LINE_WIDTH_MIN <= lineWidth <= GlsRenderObject::LINE_WIDTH_MAX |
Implemented in GlsComponentBase, and GlsGroup.
|
pure virtual |
Set the polygon mode of the contained objects
polygonMode | new polygon mode |
Implemented in GlsComponentBase, and GlsGroup.