RenderTools::Circle Class Reference

#include <Circle.h>

Inheritance diagram for RenderTools::Circle:

RenderTools::Rendernode RenderTools::BindingInterface RenderTools::RenderInterface RenderTools::RelationalNode RenderTools::TransformNode RenderTools::AbstractPropertyContainer RenderTools::ContainerProperty RenderTools::AbstractProperty RenderTools::InitializeInterface

List of all members.

Public Member Functions

 Circle (void)
virtual ~Circle (void)
virtual void createProperties (void)
virtual const string getTypeName (bool ofComponent=false) const
virtual void onInitialize (void)
unsigned int getSubdivision (void)
void setSubdivision (unsigned int subdiv, bool send=true)
float getBegin (void)
void setBegin (float degrees, bool send=true)
float getEnd (void)
void setEnd (float degrees, bool send=true)

Static Public Member Functions

static PropertyPtr create (const XMLNodePtr &xml=XMLNodePtr())

Protected Attributes

GLfloat * m_vertices
GLfloat * m_texCoords
GLfloat * m_normals
float m_begin
float m_end
unsigned int m_subdiv


Detailed Description

Definition at line 9 of file Circle.h.


Constructor & Destructor Documentation

RenderTools::Circle::Circle ( void   ) 

Definition at line 9 of file Circle.cpp.

RenderTools::Circle::~Circle ( void   )  [virtual]

Definition at line 36 of file Circle.cpp.


Member Function Documentation

PropertyPtr RenderTools::Circle::create ( const XMLNodePtr xml = XMLNodePtr()  )  [static]

Reimplemented from RenderTools::Rendernode.

Definition at line 17 of file Circle.cpp.

void RenderTools::Circle::createProperties ( void   )  [virtual]

Reimplemented from RenderTools::Rendernode.

Definition at line 25 of file Circle.cpp.

float RenderTools::Circle::getBegin ( void   ) 

Definition at line 95 of file Circle.cpp.

float RenderTools::Circle::getEnd ( void   ) 

Definition at line 104 of file Circle.cpp.

unsigned int RenderTools::Circle::getSubdivision ( void   ) 

Definition at line 86 of file Circle.cpp.

const string RenderTools::Circle::getTypeName ( bool  ofComponent = false  )  const [virtual]

Reimplemented from RenderTools::Rendernode.

Definition at line 32 of file Circle.cpp.

void RenderTools::Circle::onInitialize ( void   )  [virtual]

Reimplemented from RenderTools::Rendernode.

Definition at line 39 of file Circle.cpp.

void RenderTools::Circle::setBegin ( float  degrees,
bool  send = true 
)

Definition at line 99 of file Circle.cpp.

void RenderTools::Circle::setEnd ( float  degrees,
bool  send = true 
)

Definition at line 108 of file Circle.cpp.

void RenderTools::Circle::setSubdivision ( unsigned int  subdiv,
bool  send = true 
)

Definition at line 90 of file Circle.cpp.


Member Data Documentation

float RenderTools::Circle::m_begin [protected]

Definition at line 31 of file Circle.h.

float RenderTools::Circle::m_end [protected]

Definition at line 32 of file Circle.h.

GLfloat* RenderTools::Circle::m_normals [protected]

Definition at line 30 of file Circle.h.

unsigned int RenderTools::Circle::m_subdiv [protected]

Definition at line 33 of file Circle.h.

GLfloat* RenderTools::Circle::m_texCoords [protected]

Definition at line 29 of file Circle.h.

GLfloat* RenderTools::Circle::m_vertices [protected]

Definition at line 28 of file Circle.h.


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

Generated on Wed Jan 26 00:15:36 2011 for RenderTools by  doxygen 1.5.8