1#ifndef _GLS_COMPONENT_BASE_H
2#define _GLS_COMPONENT_BASE_H
69 #if defined( GLS_DEBUG )
Definition: gls_component_base.h:57
virtual void Draw(GlsStateManager &gl, const GlsFloat64 time)
@ CLIP_PLANE_BACK
Definition: gls_component_base.h:170
@ CLIP_PLANE_TOP
Definition: gls_component_base.h:167
@ CLIP_PLANE_BOTTOM
Definition: gls_component_base.h:168
@ CLIP_PLANE_RIGHT
Definition: gls_component_base.h:166
@ CLIP_PLANE_FRONT
Definition: gls_component_base.h:169
@ NUM_CLIP_PLANES
Definition: gls_component_base.h:171
@ CLIP_PLANE_LEFT
Definition: gls_component_base.h:165
virtual void SetChildrenLineColor(const GlsColor &lineColor)
GlsMatrixAffineD _componentTransformMatrix
Definition: gls_component_base.h:217
virtual void Initialize(void)=0
GLdouble _clipPlanes[NUM_CLIP_PLANES][NUM_PLANE_COEFF]
Definition: gls_component_base.h:225
virtual void SetChildrenLineWidth(const GlsFloat32 lineWidth)
virtual void SetChildrenPolygonMode(const GlsPolygonMode polygonMode)
void ActivateClipPlanes(void) const
void SetClipPlanes(const GlsVector3D &lowerFarLeft, const GlsVector3D &upperNearRight)
virtual GlsDisplayObject * PickTest(const GlsVector2D &windowCoord, GlsInputManager &inputManager, const GlsMatrixAffineD::GLMatrixAffineF &parentDrawMatrix)
void DeactivateClipPlanes(void) const
virtual ~GlsComponentBase()
virtual void Calculate(const GlsFloat64 time)
virtual void SetChildrenFillColor(const GlsColor &fillColor)
virtual GlsDisplayObjectArray & GetObjects(void)=0
GlsBool _clippingEnabled
Definition: gls_component_base.h:223
@ PLANE_EQN_COEFF_A
Definition: gls_component_base.h:177
@ NUM_PLANE_COEFF
Definition: gls_component_base.h:181
@ PLANE_EQN_COEFF_C
Definition: gls_component_base.h:179
@ PLANE_EQN_COEFF_B
Definition: gls_component_base.h:178
@ PLANE_EQN_COEFF_D
Definition: gls_component_base.h:180
virtual void SetChildrenAlphaMode(const GlsAlphaMode alphaMode)
GlsComponentBase(const InitParameters &initParameters, GlsEventDispatcher *const eventDispatcher)
Definition: gls_composite_object.h:53
Definition: gls_display_object_array.h:59
Definition: gls_display_object.h:65
Definition: gls_event.h:305
Definition: gls_matrix_affine_double.h:55
GlsFloat64 CStyleMatrix[DIMENSION][DIMENSION]
Definition: gls_matrix_affine_double.h:60
GLfloat GLMatrixAffineF[DIMENSION *DIMENSION]
Definition: gls_matrix_affine_double.h:63
Definition: gls_state_manager.h:64
This header defines a GLS_DEBUG only macro for facilitating evaluating class invariants in the GL Stu...
#define GLS_CLASS_INVARIANT_DECLARATION(ClassName)
Definition: gls_class_invariant.h:80
This header defines the GlsCompositeObject class used in the GL Studio DO-178B Runtime Library.
This header defines GlsDisplayObjectArray which encapsulates\ an array of display object pointers in ...
This header defines any preprocessor defines needed to configure the GL Studio DO-178B Runtime Librar...
This header defines The GlsMatrixAffineD class for use in the GL Studio DO-178B Runtime Library.
GlsAlphaMode
Definition: gls_render_settings.h:163
GlsPolygonMode
Definition: gls_render_settings.h:132
This header defines the GlsTexturePalette class used in the GL Studio DO-178B Runtime Library.
bool GlsBool
Definition: gls_types.h:96
double GlsFloat64
Definition: gls_types.h:87
float GlsFloat32
Definition: gls_types.h:78
Definition: gls_color.h:48
Definition: gls_component_base.h:63
const GlsCompositeObject::InitParameters compositeInitParameters
Definition: gls_component_base.h:64
const GlsMatrixAffineD::CStyleMatrix componentTransformMatrix
Definition: gls_component_base.h:66
Definition: gls_composite_object.h:59
Definition: gls_vertex.h:50
Definition: gls_vertex.h:66