1 #ifndef _GLS_DISPLAY_OBJECT_H
2 #define _GLS_DISPLAY_OBJECT_H
75 #if defined( GLS_DEBUG )
88 #if defined( GLS_DEBUG )
99 #if defined( GLS_DEBUG )
127 #if defined( GLS_DEBUG )
249 #if defined( GLS_UNIT_TEST )
256 static const void* OffsetOfObjectType(
void );
257 #endif // defined( GLS_UNIT_TEST )
360 #if defined( GLS_DEBUG )
361 #pragma BullseyeCoverage save off
374 #pragma BullseyeCoverage restore
377 #if defined( GLS_DEBUG )
378 #pragma BullseyeCoverage save off
391 #pragma BullseyeCoverage restore
394 #if defined( GLS_UNIT_TEST )
395 #pragma BullseyeCoverage save off
402 inline const void* GlsDisplayObject::OffsetOfObjectType(
void )
406 #pragma BullseyeCoverage restore
407 #endif // defined( GLS_UNIT_TEST )
409 #endif // _GLS_DISPLAY_OBJECT_H
const GlsMatrixAffineD::CStyleMatrix dcsMatrix
Definition: gls_display_object.h:115
Definition: gls_state_manager.h:63
GlsDisplayObject(const InitParameters &initParameters, const ObjectType objectType, GlsEventDispatcher *const eventDispatcher)
Definition: gls_event.h:304
ObjectType GetObjectType(void) const
Definition: gls_display_object.h:73
void SetBlinkRate(const GlsFloat32 blinkRate)
GlsMatrixAffineD::GLMatrixAffineF _pickMatrix
Definition: gls_display_object.h:304
GLfloat GLMatrixAffineF[DIMENSION *DIMENSION]
Definition: gls_matrix_affine_double.h:63
Definition: gls_input_manager.h:53
const PickRegion pickRegion
Definition: gls_display_object.h:121
GlsVector2D _windowPickUpperLeft
Definition: gls_display_object.h:300
const GlsVector3D _location
Definition: gls_display_object.h:265
GlsVector3D _dynamicScale
Definition: gls_display_object.h:287
virtual void Calculate(const GlsFloat64 time)
void SetDynamicTranslation(const GlsVector3D &dynamicTranslation)
PickMode
Definition: gls_display_object.h:81
const GlsMatrixAffineD _dcsMatrixInverse
Definition: gls_display_object.h:263
GlsVector2D _windowPickLowerRight
Definition: gls_display_object.h:302
GlsDisplayObject * _parent
Definition: gls_display_object.h:306
GlsFloat64 CStyleMatrix[DIMENSION][DIMENSION]
Definition: gls_matrix_affine_double.h:60
void InvalidatePickCache(void)
const GlsBool visible
Definition: gls_display_object.h:124
virtual GlsDisplayObject * PickTest(const GlsVector2D &windowCoord, GlsInputManager &inputManager, const GlsMatrixAffineD::GLMatrixAffineF &parentDrawMatrix)
GlsMatrixAffineD::GLMatrixAffineF _drawMatrix
Definition: gls_display_object.h:281
This header the GlsEvent structure and related classes in the GL Studio DO-178B Runtime Library...
const GlsVector3D location
Definition: gls_display_object.h:117
virtual ~GlsDisplayObject()
GlsBool _dynamicScaleIsUnity
Definition: gls_display_object.h:288
const ObjectType _objectType
Definition: gls_display_object.h:269
This header defines any preprocessor defines needed to configure the GL Studio DO-178B Runtime Librar...
This header defines the runtime assert checking macros for the GL Studio DO-178B Runtime Library...
Definition: gls_display_object.h:110
Definition: gls_event.h:52
void SetParent(GlsDisplayObject *const parent)
GlsBool CalcDrawMatrix(const GlsMatrixAffineD *const additionalTransform, const GlsBool includeLocation)
float GlsFloat32
Definition: gls_types.h:78
GlsBool _visible
Definition: gls_display_object.h:293
const GlsVector3D rotationPoint
Definition: gls_display_object.h:122
const GlsBool _dcsMatrixIsIdentity
Definition: gls_display_object.h:264
GlsDisplayObject * HandleEvent(GlsEvent &event)
const GlsMatrixAffineD::CStyleMatrix dcsMatrixInverse
Definition: gls_display_object.h:116
GlsEventDispatcher *const _eventDispatcher
Definition: gls_display_object.h:271
GlsVector3D upperFarRight
Definition: gls_display_object.h:97
const PickMode pickMode
Definition: gls_display_object.h:120
virtual void Draw(GlsStateManager &gl, const GlsFloat64 time)=0
Definition: gls_display_object.h:85
#define GLS_CLASS_INVARIANT_DECLARATION(ClassName)
Definition: gls_class_invariant.h:80
void SetBlinking(const GlsBool blinking)
GlsVector2D _windowPickUpperRight
Definition: gls_display_object.h:298
Definition: gls_display_object.h:83
void SetDynamicScale(const GlsVector3D &dynamicScale)
GlsBool _needCalcDrawMatrix
Definition: gls_display_object.h:291
Definition: gls_vertex.h:49
Definition: gls_display_object.h:72
GlsBool _windowPickRegionValid
Definition: gls_display_object.h:295
ObjectType
Definition: gls_display_object.h:70
PickMode _pickMode
Definition: gls_display_object.h:294
bool GlsBool
Definition: gls_types.h:96
GlsVector3D lowerNearLeft
Definition: gls_display_object.h:96
const GlsBool blinking
Definition: gls_display_object.h:112
const GlsFloat32 blinkRate
Definition: gls_display_object.h:114
GlsVector3D _dynamicTranslation
Definition: gls_display_object.h:289
const GlsVector3D _rotationPoint
Definition: gls_display_object.h:272
virtual void CalcWindowPickRegion(GlsInputManager &inputManager, const GlsMatrixAffineD::GLMatrixAffineF &parentDrawMatrix)
Definition: gls_display_object.h:94
This header includes the API for the OpenGL provider used in the GL Studio DO-178B Runtime Library...
Definition: gls_vertex.h:65
const PickRegion _pickRegion
Definition: gls_display_object.h:270
GlsFloat32 _blinkRate
Definition: gls_display_object.h:280
Definition: gls_display_object.h:84
GlsVector3D _dynamicRotation
Definition: gls_display_object.h:285
const GlsMatrixAffineD _dcsMatrix
Definition: gls_display_object.h:260
void SetPickMode(const PickMode pickMode)
This header defines The GlsMatrixAffineD class for use in the GL Studio DO-178B Runtime Library...
This header defines classes for working with 2D and 3D vectors, vertices and textured vertices in the...
GlsBool NeedCalculate(void) const
This header defines the basic types used by the GL Studio DO-178B Runtime Library.
void SetDynamicRotation(const GlsVector3D &dynamicRotation)
GlsBool _blinking
Definition: gls_display_object.h:279
Definition: gls_matrix_affine_double.h:54
void SetVisibility(const GlsBool visible)
double GlsFloat64
Definition: gls_types.h:87
const GlsBool _needCalculate
Definition: gls_display_object.h:267
GlsBool IsBlinkedOff(const GlsFloat64 time) const
const GlsBool needCalculate
Definition: gls_display_object.h:118
Definition: gls_display_object.h:64
GlsVector2D _windowPickLowerLeft
Definition: gls_display_object.h:296