vrecko
virtual reality framework
|
Control point of Sweep Surface. More...
#include <BrushStrokeControlPoint.h>
Public Member Functions | |
BrushStrokeControlPoint (DAControlPointType p_type, osg::Group *p_EOOwner, osg::Vec3 point, osg::Quat orient) | |
~BrushStrokeControlPoint () | |
osg::Vec3 | getBinormal () |
double | getCurvature () |
double | getDiameter () |
osg::Vec3 | getNormal () |
osg::Quat | getOrientation () |
osg::Vec3 | getPosition () |
double | getPriority () |
double | getSegmentLength () |
double | getSpeed () |
osg::Vec3 | getTangent () |
double | getTorsion () |
osg::Quat | getTriangulationAngle () |
double | getTvalue () |
DAControlPointType | getType () |
osg::Group * | getVisualOwner () |
string | getPositionString () |
bool | isSampled () |
void | setCharacteristics (osg::Vec3 tan, osg::Vec3 norm, osg::Vec3 binorm, double curvature, double torsion) |
void | setDiameter (double diam) |
void | setNormal (osg::Vec3 nrml) |
void | setBinormal (osg::Vec3 binrml) |
void | setPosition (osg::Vec3 pos) |
void | setPosition (osg::Vec3f::value_type x, osg::Vec3f::value_type y, osg::Vec3f::value_type z) |
void | setPriority (double prior) |
void | setRotationFrame (osg::Vec3 normal, osg::Vec3 binormal, osg::Vec3 tangent) |
void | setSegmentLength (double length) |
double | setSpeed (double spee) |
void | setTangent (osg::Vec3 tngt) |
void | setTriangulationAngle (osg::Quat angle) |
void | setTvalue (double tval) |
void | setVisibleVisualBox (bool vis) |
void | showGizmo (bool show) |
show or hide graphical gizmo of point More... | |
Public Attributes | |
bool | frenetFremeComputed |
Control point of Sweep Surface.
Set of control points is computed from set of samples. Control points are used as control points of leading curve of swept-volume of brush stroke. may contains:
APDYNAMICART::BrushStrokeControlPoint::BrushStrokeControlPoint | ( | DAControlPointType | p_type, |
osg::Group * | p_EOOwner, | ||
osg::Vec3 | point, | ||
osg::Quat | orient | ||
) |
p_type | type of point - SAMPLED or interpolated |
p_EOOwner | group for visuals of points - e.g. rotation frame gizmo will be added to this group |
APDYNAMICART::BrushStrokeControlPoint::~BrushStrokeControlPoint | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
string APDYNAMICART::BrushStrokeControlPoint::getPositionString | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool APDYNAMICART::BrushStrokeControlPoint::isSampled | ( | ) |
|
inline |
void APDYNAMICART::BrushStrokeControlPoint::setCharacteristics | ( | osg::Vec3 | tan, |
osg::Vec3 | norm, | ||
osg::Vec3 | binorm, | ||
double | curvature, | ||
double | torsion | ||
) |
|
inline |
|
inline |
void APDYNAMICART::BrushStrokeControlPoint::setPosition | ( | osg::Vec3 | pos | ) |
void APDYNAMICART::BrushStrokeControlPoint::setPosition | ( | osg::Vec3f::value_type | x, |
osg::Vec3f::value_type | y, | ||
osg::Vec3f::value_type | z | ||
) |
|
inline |
void APDYNAMICART::BrushStrokeControlPoint::setRotationFrame | ( | osg::Vec3 | normal, |
osg::Vec3 | binormal, | ||
osg::Vec3 | tangent | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void APDYNAMICART::BrushStrokeControlPoint::showGizmo | ( | bool | show | ) |
show or hide graphical gizmo of point
bool APDYNAMICART::BrushStrokeControlPoint::frenetFremeComputed |