Drag[en]gine Game Engine  1.21
deDebugDrawerShape Class Reference

Debug drawer shape. More...

#include <deDebugDrawerShape.h>

Public Member Functions

Constructors and Destructors
 deDebugDrawerShape ()
 Create debug drawer shape. More...
 
 ~deDebugDrawerShape ()
 Clean up debug drawer shape. More...
 
Management
const decVectorGetPosition () const
 Position. More...
 
void SetPosition (const decVector &position)
 Set position. More...
 
const decQuaternionGetOrientation () const
 Orientation. More...
 
void SetOrientation (const decQuaternion &orientation)
 Set orientation. More...
 
const decVectorGetScale () const
 Scale. More...
 
void SetScale (const decVector &scale)
 Set scale. More...
 
const decColorGetEdgeColor () const
 Edge color. More...
 
void SetEdgeColor (const decColor &color)
 Set edge color. More...
 
const decColorGetFillColor () const
 Fill color. More...
 
void SetFillColor (const decColor &color)
 Set fill color. More...
 
decShapeListGetShapeList ()
 Shape list. More...
 
const decShapeListGetShapeList () const
 
Volume Faces
int GetFaceCount () const
 Number of volume faces. More...
 
deDebugDrawerShapeFaceGetFaceAt (int index) const
 Face at index. More...
 
void AddFace (deDebugDrawerShapeFace *face)
 Add face. More...
 
void RemoveAllFaces ()
 Remove all faces. More...
 

Detailed Description

Debug drawer shape.

Describes the a shape to be drawn. There are a couple of parameters that can be set to define the appearance. The edge and fill color flag determine the color and transparency of the edges and the faces of the shape. By default the edge is set to white fully opaque and the fill is set to white fully transparent. Both shapes and faces can be used at the same time. If none of them are present nothing is drawn.

Constructor & Destructor Documentation

◆ deDebugDrawerShape()

deDebugDrawerShape::deDebugDrawerShape ( )

Create debug drawer shape.

◆ ~deDebugDrawerShape()

deDebugDrawerShape::~deDebugDrawerShape ( )

Clean up debug drawer shape.

Member Function Documentation

◆ AddFace()

void deDebugDrawerShape::AddFace ( deDebugDrawerShapeFace face)

Add face.

◆ GetEdgeColor()

const decColor& deDebugDrawerShape::GetEdgeColor ( ) const
inline

Edge color.

◆ GetFaceAt()

deDebugDrawerShapeFace* deDebugDrawerShape::GetFaceAt ( int  index) const

Face at index.

◆ GetFaceCount()

int deDebugDrawerShape::GetFaceCount ( ) const

Number of volume faces.

◆ GetFillColor()

const decColor& deDebugDrawerShape::GetFillColor ( ) const
inline

Fill color.

◆ GetOrientation()

const decQuaternion& deDebugDrawerShape::GetOrientation ( ) const
inline

Orientation.

◆ GetPosition()

const decVector& deDebugDrawerShape::GetPosition ( ) const
inline

Position.

◆ GetScale()

const decVector& deDebugDrawerShape::GetScale ( ) const
inline

Scale.

◆ GetShapeList() [1/2]

decShapeList& deDebugDrawerShape::GetShapeList ( )
inline

Shape list.

◆ GetShapeList() [2/2]

const decShapeList& deDebugDrawerShape::GetShapeList ( ) const
inline

◆ RemoveAllFaces()

void deDebugDrawerShape::RemoveAllFaces ( )

Remove all faces.

◆ SetEdgeColor()

void deDebugDrawerShape::SetEdgeColor ( const decColor color)

Set edge color.

◆ SetFillColor()

void deDebugDrawerShape::SetFillColor ( const decColor color)

Set fill color.

◆ SetOrientation()

void deDebugDrawerShape::SetOrientation ( const decQuaternion orientation)

Set orientation.

◆ SetPosition()

void deDebugDrawerShape::SetPosition ( const decVector position)

Set position.

◆ SetScale()

void deDebugDrawerShape::SetScale ( const decVector scale)

Set scale.


The documentation for this class was generated from the following file: