1 #ifndef _GLS_RENDER_OBJECT_H
2 #define _GLS_RENDER_OBJECT_H
74 #if defined( GLS_DEBUG )
109 #if defined( GLS_DEBUG )
287 #if defined( GLS_DEBUG )
288 #pragma BullseyeCoverage save off
297 return( ( GlsRenderObject::LINE_WIDTH_MIN <= lineWidth ) && ( lineWidth <= GlsRenderObject::LINE_WIDTH_MAX ) );
299 #pragma BullseyeCoverage restore
302 #endif // _GLS_RENDER_OBJECT_H
void SetupShading(GlsStateManager &gl) const
Definition: gls_render_object.h:69
const GlsBool cullBackFace
Definition: gls_render_object.h:89
Definition: gls_color.h:47
const GlsBool _antiAlias
Definition: gls_render_object.h:174
bool GlsBool
Definition: gls_types.h:96
GlsAlphaMode _alphaMode
Definition: gls_render_object.h:186
void SetupAntiAlias(GlsStateManager &gl) const
const GlsPolygonEndMode _polygonEndMode
Definition: gls_render_object.h:183
virtual void SetPolygonMode(const GlsPolygonMode polygonMode)
#define GLS_CLASS_INVARIANT_DECLARATION(ClassName)
Definition: gls_class_invariant.h:80
This header defines the basic render setting types used in the GL Studio DO-178B Runtime Library...
virtual void SetLineColor(const GlsColor &lineColor)
void SetupTextureFilterSettings(GlsStateManager &gl) const
Definition: gls_state_manager.h:63
GlsBool SetupTexture(GlsStateManager &gl, const GlsUInt32 textureIndex) const
const GlsTexturePalette *const * texturePalette
Definition: gls_render_object.h:105
const GlsTexturePalette & _texturePalette
Definition: gls_render_object.h:175
const GlsTextureFilterMode textureMagFilterMode
Definition: gls_render_object.h:103
const GlsColor fillColor
Definition: gls_render_object.h:92
Definition: gls_display_object.h:110
GlsPolygonMode _polygonMode
Definition: gls_render_object.h:190
GlsColor _fillColor
Definition: gls_render_object.h:191
virtual void SetAlphaMode(const GlsAlphaMode alphaMode)
const GlsTextureFilterMode _textureMagFilterMode
Definition: gls_render_object.h:179
unsigned int GlsUInt32
Definition: gls_types.h:73
virtual void SetFillColor(const GlsColor &fillColor)
GlsAlphaMode
Definition: gls_render_settings.h:162
const GlsTextureFilterMode _textureMinFilterMode
Definition: gls_render_object.h:180
Definition: gls_event.h:304
This header defines any preprocessor defines needed to configure the GL Studio DO-178B Runtime Librar...
GlsColor _lineColor
Definition: gls_render_object.h:187
const GlsDisplayObject::InitParameters displayInitParameters
Definition: gls_render_object.h:84
const GlsShadingMode _shadingMode
Definition: gls_render_object.h:184
const GlsAlphaMode alphaMode
Definition: gls_render_object.h:86
Definition: gls_texture_palette.h:54
virtual void SetLineWidth(const GlsFloat32 lineWidth)
GlsUInt32 _textureIndex
Definition: gls_render_object.h:188
const GlsBool _cullBackFace
Definition: gls_render_object.h:181
void SetupLineStyle(GlsStateManager &gl) const
const GlsBool antiAlias
Definition: gls_render_object.h:87
float GlsFloat32
Definition: gls_types.h:78
static const GLclampf ALPHA_MODE_2_LEVEL_REF
Definition: gls_render_object.h:172
GlsTextureMapMode
Definition: gls_render_settings.h:47
const GlsTextureMapMode textureMapMode
Definition: gls_render_object.h:102
const GlsPolygonEndMode polygonEndMode
Definition: gls_render_object.h:98
Definition: gls_display_object.h:64
virtual void OffsetTexture(const GlsVector2D &offset)=0
GlsFloat32 _lineWidth
Definition: gls_render_object.h:192
GlsShadingMode
Definition: gls_render_settings.h:216
GlsDepthBufferMode
Definition: gls_render_settings.h:104
GLint GlsTextureFilterModeToGL(const GlsTextureFilterMode mode) const
void SetupDepthTest(GlsStateManager &gl) const
Definition: gls_render_object.h:82
const GlsDepthBufferMode depthBufferMode
Definition: gls_render_object.h:91
Definition: gls_vertex.h:49
virtual ~GlsRenderObject()
This header defines the base class for all graphical objects in the GL Studio DO-178B Runtime Library...
const GlsTextureMapMode _textureMapMode
Definition: gls_render_object.h:178
const GlsFloat32 lineWidth
Definition: gls_render_object.h:94
const GlsUInt32 textureIndex
Definition: gls_render_object.h:100
GlsPolygonMode
Definition: gls_render_settings.h:131
const GlsPolygonMode polygonMode
Definition: gls_render_object.h:97
virtual void SetTextureIndex(const GlsUInt32 textureIndex)
GlsPolygonEndMode
Definition: gls_render_settings.h:191
const GlsTextureFilterMode textureMinFilterMode
Definition: gls_render_object.h:104
GlsRenderObject(const InitParameters &initParameters, GlsEventDispatcher *const eventDispatcher)
void SetupBackfaceCulling(GlsStateManager &gl) const
This header defines the GlsTexturePalette class used in the GL Studio DO-178B Runtime Library...
const GlsColor lineColor
Definition: gls_render_object.h:93
void SetupAlpha(GlsStateManager &gl) const
const GlsBool textureRepeat
Definition: gls_render_object.h:106
const GlsBool _textureRepeat
Definition: gls_render_object.h:176
const GlsDepthBufferMode _depthBufferMode
Definition: gls_render_object.h:182
const GlsShadingMode shadingMode
Definition: gls_render_object.h:99
GlsTextureFilterMode
Definition: gls_render_settings.h:77