vrecko
virtual reality framework
|
Encapsulate data and functionality of sweepSurface related factories and adapters. More...
#include <Brush.h>
Public Member Functions | |
Brush (string colorAdapterName, string diameterAdapterName, string crossSectionAdapterName, string rotationFrameAdapterName) | |
Brush (const Brush &orig) | |
~Brush () | |
osg::ref_ptr< ColorGenAdapter > | getColorGenAdapter () |
osg::ref_ptr< DiameterGenAdapter > | getDiameterGenAdapter () |
osg::ref_ptr< SplineAdapter > | getCrossSectionAdapter () |
osg::ref_ptr < RotationFrameAdapter > | getRotationFrameAdapter () |
string | getCrossSectionAdapterName () const |
string | getRotationFrameAdapterName () const |
double | getSmoothness () const |
ColorGenFactory * | getColorGenFactory () |
int | getCrossSectionInterpolationSteps () const |
int | getInterpolationSteps () const |
double | getDiameter () |
bool | sliderChanged (const char *sliderID, float sliderPos) |
bool | guiItemClicked (const char *itemID) |
bool | setDiameterAdapter (string name) |
bool | setColorAdapter (string name) |
bool | setCrossSectionAdapter (string name) |
bool | setRotationFrameAdapter (string name) |
void | save (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *Document, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *ParametersNode) |
void | createMenu (MenuPtr menu, bool colorMenu=true) |
void | load (DOMNode *ParametersNode) |
void | setDiameter (float sliderPos) |
void | setInterpolationSteps (int steps) |
void | setCrossSectionInterpolationSteps (int steps) |
void | setSmoothness (double val) |
Protected Attributes | |
int | _interpolationSteps |
int | _crossSectionInterpolationSteps |
double | _smoothness |
string | _colorGenAdapterName |
Object for managing color(s) of sweep surface. More... | |
string | _diamGenAdapterName |
Object for managing diameter(s) of sweep surface. More... | |
string | _crossSectionAdapterName |
Object for managing cross-section shape of sweep surface. More... | |
string | _rotationFrameAdapterName |
object for managing tilting of the brush More... | |
ColorGenFactory | _colorGenFactory |
factories - for simple generation and data storage of sweep surface parameters generators More... | |
DiameterGenFactory | _diamGenFactory |
SplineFactory | _crossSectionFactory |
RotationFrameFactory | _rotationFrameFactory |
Encapsulate data and functionality of sweepSurface related factories and adapters.
APDYNAMICART::Brush::Brush | ( | string | colorAdapterName, |
string | diameterAdapterName, | ||
string | crossSectionAdapterName, | ||
string | rotationFrameAdapterName | ||
) |
APDYNAMICART::Brush::Brush | ( | const Brush & | orig | ) |
|
inline |
void APDYNAMICART::Brush::createMenu | ( | MenuPtr | menu, |
bool | colorMenu = true |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
double APDYNAMICART::Brush::getDiameter | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool APDYNAMICART::Brush::guiItemClicked | ( | const char * | itemID | ) |
void APDYNAMICART::Brush::load | ( | DOMNode * | ParametersNode | ) |
void APDYNAMICART::Brush::save | ( | XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * | Document, |
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * | ParametersNode | ||
) |
bool APDYNAMICART::Brush::setColorAdapter | ( | string | name | ) |
bool APDYNAMICART::Brush::setCrossSectionAdapter | ( | string | name | ) |
void APDYNAMICART::Brush::setCrossSectionInterpolationSteps | ( | int | steps | ) |
void APDYNAMICART::Brush::setDiameter | ( | float | sliderPos | ) |
bool APDYNAMICART::Brush::setDiameterAdapter | ( | string | name | ) |
|
inline |
bool APDYNAMICART::Brush::setRotationFrameAdapter | ( | string | name | ) |
|
inline |
bool APDYNAMICART::Brush::sliderChanged | ( | const char * | sliderID, |
float | sliderPos | ||
) |
|
protected |
Object for managing color(s) of sweep surface.
|
protected |
factories - for simple generation and data storage of sweep surface parameters generators
|
protected |
Object for managing cross-section shape of sweep surface.
|
protected |
|
protected |
|
protected |
Object for managing diameter(s) of sweep surface.
|
protected |
|
protected |
|
protected |
object for managing tilting of the brush
|
protected |
|
protected |