class GmDrawable |
The GmDrawable class is the base class for all render-able objects.
![]() | GmDrawable () Standard constructor |
![]() | applyLayout (float minX, float minY, float minZ, float maxX, float maxY, float maxZ) Repositions and resizes this component based on parameters passed into the method. |
![]() | getBaseColor () Gets the base color of the object. |
![]() | getCoordType () Gets the coordinate type for this object. |
![]() | getDepth () Gets the depth of the drawable object. |
![]() | getGlDepth () Gets the OpenGL depth of the drawable object. |
![]() | getGlExtents (float& width, float& height) Gets the ideal extents of the drawable in OpenGL units. |
![]() | getGlHeight () Gets the OpenGL height of the drawable object. |
![]() | getGlPosition () Gets the OpenGL position of the drawable object. |
![]() | getGlWidth () Gets the OpenGL width of the drawable object. |
![]() | getHeight () Gets the height of the drawable object. |
![]() | getMinimumGeometry (float& width, float& height, float& depth) Get the minimum dimensions of this drawable object. |
![]() | getPosition () Gets the position of the drawable object. |
![]() | getVisible () Gets the visibility status of this drawable object. |
![]() | getWidth () Gets the width of the drawable object. |
![]() | render (GmTypes::RenderOptionType renderOptions) Renders the current drawable given the rendering options. |
![]() | setAbsoluteGeometry (float x, float y, float z, float width, float height, float depth) Sets the absolute geometry to use for this drawable object. |
![]() | setBaseColor (GlmColor4* color) Sets the base color of the object. |
![]() | setBaseColor (float r, float g, float b, float a) Sets the base color of the object. |
![]() | setCoordType (GmTypes::CoordinateType coordType) Sets the coordinate type for this object. |
![]() | setDepth (float depth) Sets the depth of the drawable object in units. |
![]() | setHeight (float height) Sets the height of the drawable object in units. |
![]() | setPosition (GlmPoint3* point) Sets the position of the drawable. |
![]() | setPosition (float x, float y, float z) Sets the position of the drawable. |
![]() | setRelativeGeometry (float x, float y, float width, float height) Sets the relative geometry to use for this drawable object. |
![]() | setRelativeGeometry (float x, float y, float z, float width, float height, float depth) Sets the relative geometry to use for this drawable object. |
![]() | setVisible (bool visible) Sets the visibility of the drawable object. |
![]() | setWidth (float width) Sets the width of the drawable object in units. |
![]() | ~GmDrawable () Standard destructor |
![]() | mBaseColor The base color of the drawable object |
![]() | mCoordType The coordinate type to use CT_RELATIVE or CT_ABSOLUTE. |
![]() | mDepth The physical depth of the drawable object in units. |
![]() | mDisplayListGenerate A flag to inform render methods of their displaylist's state. |
![]() | mDisplayListId An OpenGL-assigned displaylist id for this object. |
![]() | mGlDepth The depth of this drawable in OpenGL units. |
![]() | mGlHeight The height of this drawable in OpenGL units. |
![]() | mGlPosition The OpenGL position of this object. |
![]() | mGlWidth The width of this drawable in OpenGL units. |
![]() | mHeight The physical height of the drawable object in units. |
![]() | mPosition The position of the drawable object. |
![]() | mVisible The visible status of the object, if true the drawable is visible and will be rendered. |
![]() | mWidth The physical width of the drawable object in units. |
![]() | getDisplayListGenerate () Gets the flag which informs the render functions that their display list needs to be generated. |
![]() | getDisplayListId () Gets the current displaylist id for the object. |
![]() | render2d (GmTypes::RenderOptionType renderOptions) Renders this drawable to a 2D image buffer. |
![]() | render2dSelect (GmTypes::RenderOptionType renderOptions) Renders this drawable to a selection buffer. |
![]() | setDisplayListGenerate (bool generate) Sets the flag which informs the render functions that their display list needs to be generated. |
![]() | setDisplayListId (int id) Sets the displaylist id for this component. |
The GmDrawable class is the base class for all render-able objects. It contains basic information such as the height and width of the drawable object as well as whether it is visible or not.
Alphabetic index HTML hierarchy of classes or Java