vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SweepSurfaceGeode Class Reference

#include <SweepSurfaceGeode.h>

Inheritance diagram for SweepSurfaceGeode:

Public Member Functions

 SweepSurfaceGeode ()
 
 SweepSurfaceGeode (const SweepSurfaceGeode &, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
 META_Node (APDYNAMICART, SweepSurfaceGeode)
 
virtual void traverse (osg::NodeVisitor &nv)
 
SplinePtr getLeadingSpline () const
 
SplinePtr getLeadingSpline ()
 
void setLeadingSpline (SplinePtr val)
 
ColorGenPtr getColorGenerator () const
 
ColorGenPtr getColorGenerator ()
 
void setColorGenerator (ColorGenPtr val)
 
DiameterGenPtr getDiameterGenerator () const
 
DiameterGenPtr getDiameterGenerator ()
 
void setDiameterGenerator (DiameterGenPtr val)
 
SplinePtr getCrossSectionSpline () const
 
SplinePtr getCrossSectionSpline ()
 
void setCrossSectionSpline (SplinePtr val)
 
RotationFrameGeneratorPtr getRFGenerator () const
 
RotationFrameGeneratorPtr getRFGenerator ()
 
void setRFGenerator (RotationFrameGeneratorPtr val)
 
const Vec3ArrayPtr getCrossSectionArray () const
 
const Vec3ArrayPtr getLeadSplineArray () const
 

Protected Member Functions

void updateGeometry ()
 
void createDrawableObject ()
 
void updateVertexArray ()
 
void updateNormalArray ()
 
void updatePrimitiveSet ()
 
void showDebugNormals ()
 
Vec3ArrayPtr compute2DNormals ()
 
osg::Vec3 compute2DNormal (const osg::Vec3 &p1, const osg::Vec3 &p2)
 
void updateColorArray ()
 

Protected Attributes

SplinePtr _leadSpline
 
SplinePtr _crossSectionSpline
 
ColorGenPtr _colorGen
 
DiameterGenPtr _diameterGen
 
osg::ref_ptr< osg::Geometry > _geometry
 
RotationFrameGeneratorPtr _rfGenerator
 
Vec3ArrayPtr _leadSplineArray
 
Vec3ArrayPtr _crossSectionArray
 
std::vector< osg::Quat > _rotationAngles
 
RotationFrameArray _rfArray
 
DoubleArrayPtr _diameters
 

Constructor & Destructor Documentation

SweepSurfaceGeode::SweepSurfaceGeode ( )
SweepSurfaceGeode::SweepSurfaceGeode ( const SweepSurfaceGeode ,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)

Member Function Documentation

osg::Vec3 SweepSurfaceGeode::compute2DNormal ( const osg::Vec3 &  p1,
const osg::Vec3 &  p2 
)
inlineprotected
Vec3ArrayPtr SweepSurfaceGeode::compute2DNormals ( )
protected
void SweepSurfaceGeode::createDrawableObject ( )
protected
ColorGenPtr SweepSurfaceGeode::getColorGenerator ( ) const
inline
ColorGenPtr SweepSurfaceGeode::getColorGenerator ( )
inline
const Vec3ArrayPtr SweepSurfaceGeode::getCrossSectionArray ( ) const
inline
SplinePtr SweepSurfaceGeode::getCrossSectionSpline ( ) const
inline
SplinePtr SweepSurfaceGeode::getCrossSectionSpline ( )
inline
DiameterGenPtr SweepSurfaceGeode::getDiameterGenerator ( ) const
inline
DiameterGenPtr SweepSurfaceGeode::getDiameterGenerator ( )
inline
SplinePtr SweepSurfaceGeode::getLeadingSpline ( ) const
inline

Getters and setters

SplinePtr SweepSurfaceGeode::getLeadingSpline ( )
inline
const Vec3ArrayPtr SweepSurfaceGeode::getLeadSplineArray ( ) const
inline
RotationFrameGeneratorPtr SweepSurfaceGeode::getRFGenerator ( ) const
inline
RotationFrameGeneratorPtr SweepSurfaceGeode::getRFGenerator ( )
inline
SweepSurfaceGeode::META_Node ( APDYNAMICART  ,
SweepSurfaceGeode   
)
void SweepSurfaceGeode::setColorGenerator ( ColorGenPtr  val)
inline
void SweepSurfaceGeode::setCrossSectionSpline ( SplinePtr  val)
inline

Inline methods

void SweepSurfaceGeode::setDiameterGenerator ( DiameterGenPtr  val)
inline
void SweepSurfaceGeode::setLeadingSpline ( SplinePtr  val)
inline
void SweepSurfaceGeode::setRFGenerator ( RotationFrameGeneratorPtr  val)
inline
void SweepSurfaceGeode::showDebugNormals ( )
protected
void SweepSurfaceGeode::traverse ( osg::NodeVisitor &  nv)
virtual

Inherited virtual functions

void SweepSurfaceGeode::updateColorArray ( )
protected
void SweepSurfaceGeode::updateGeometry ( )
protected
void SweepSurfaceGeode::updateNormalArray ( )
protected
void SweepSurfaceGeode::updatePrimitiveSet ( )
protected
void SweepSurfaceGeode::updateVertexArray ( )
protected

Member Data Documentation

ColorGenPtr SweepSurfaceGeode::_colorGen
protected
Vec3ArrayPtr SweepSurfaceGeode::_crossSectionArray
protected
SplinePtr SweepSurfaceGeode::_crossSectionSpline
protected
DiameterGenPtr SweepSurfaceGeode::_diameterGen
protected
DoubleArrayPtr SweepSurfaceGeode::_diameters
protected
osg::ref_ptr<osg::Geometry> SweepSurfaceGeode::_geometry
protected
SplinePtr SweepSurfaceGeode::_leadSpline
protected
Vec3ArrayPtr SweepSurfaceGeode::_leadSplineArray
protected
RotationFrameArray SweepSurfaceGeode::_rfArray
protected
RotationFrameGeneratorPtr SweepSurfaceGeode::_rfGenerator
protected
std::vector<osg::Quat> SweepSurfaceGeode::_rotationAngles
protected

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