#include <AbstractCurve.h>

Public Types | |
| enum | InterpolationType { LINEAR, HERMITE } |
Public Member Functions | |
| AbstractCurve (void) | |
| virtual | ~AbstractCurve (void) |
| virtual void | createProperties (void) |
| virtual const string | getTypeName (bool ofComponent=false) const |
| virtual void | onInitialize (void) |
| virtual void | clear (void)=0 |
| void | setInterpolationType (InterpolationType t, bool send=true) |
| void | setSubdivision (unsigned int s, bool send=true) |
| void | setClosed (bool state, bool send=true) |
| InterpolationType | getInterpolationType (void) const |
| unsigned int | getSubdivision (void) const |
| bool | getClosed (void) const |
Static Public Member Functions | |
| static PropertyPtr | create (const XMLNodePtr &xml=XMLNodePtr()) |
Protected Attributes | |
| string | m_type |
| InterpolationType | m_interpolationType |
| unsigned int | m_subdiv |
| bool | m_closed |
Definition at line 13 of file AbstractCurve.h.
| RenderTools::AbstractCurve::AbstractCurve | ( | void | ) |
Definition at line 7 of file AbstractCurve.cpp.
| RenderTools::AbstractCurve::~AbstractCurve | ( | void | ) | [virtual] |
Definition at line 13 of file AbstractCurve.cpp.
| virtual void RenderTools::AbstractCurve::clear | ( | void | ) | [pure virtual] |
| PropertyPtr RenderTools::AbstractCurve::create | ( | const XMLNodePtr & | xml = XMLNodePtr() |
) | [static] |
Reimplemented from RenderTools::Rendernode.
Reimplemented in RenderTools::Curve< T >.
Definition at line 17 of file AbstractCurve.cpp.
| void RenderTools::AbstractCurve::createProperties | ( | void | ) | [virtual] |
Reimplemented from RenderTools::Rendernode.
Reimplemented in RenderTools::Curve< T >.
Definition at line 53 of file AbstractCurve.cpp.
| bool RenderTools::AbstractCurve::getClosed | ( | void | ) | const [inline] |
Definition at line 35 of file AbstractCurve.h.
| InterpolationType RenderTools::AbstractCurve::getInterpolationType | ( | void | ) | const [inline] |
Definition at line 33 of file AbstractCurve.h.
| unsigned int RenderTools::AbstractCurve::getSubdivision | ( | void | ) | const [inline] |
Definition at line 34 of file AbstractCurve.h.
| const string RenderTools::AbstractCurve::getTypeName | ( | bool | ofComponent = false |
) | const [virtual] |
Reimplemented from RenderTools::Rendernode.
Reimplemented in RenderTools::Curve< T >.
Definition at line 49 of file AbstractCurve.cpp.
| void RenderTools::AbstractCurve::onInitialize | ( | void | ) | [virtual] |
call the polymorphic update function
Reimplemented from RenderTools::Rendernode.
Definition at line 61 of file AbstractCurve.cpp.
| void RenderTools::AbstractCurve::setClosed | ( | bool | state, | |
| bool | send = true | |||
| ) |
| void RenderTools::AbstractCurve::setInterpolationType | ( | InterpolationType | t, | |
| bool | send = true | |||
| ) |
| void RenderTools::AbstractCurve::setSubdivision | ( | unsigned int | s, | |
| bool | send = true | |||
| ) |
bool RenderTools::AbstractCurve::m_closed [protected] |
Definition at line 40 of file AbstractCurve.h.
Definition at line 38 of file AbstractCurve.h.
unsigned int RenderTools::AbstractCurve::m_subdiv [protected] |
Definition at line 39 of file AbstractCurve.h.
string RenderTools::AbstractCurve::m_type [protected] |
Definition at line 37 of file AbstractCurve.h.
1.5.8