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

#include <HoopGeometry.h>

Inheritance diagram for APDYNAMICART::HoopGeometry:

Public Member Functions

 HoopGeometry (IShapeGeneratorPtr crossSection, IShapeGeneratorPtr shapeCurve)
 
void createGeometry (osg::Vec3Array *crossSectionFixPoints, osg::Vec3Array *shapeCurveFixPoints)
 
const IShapeGeneratorPtr getCrossSectionGenerator () const
 
const IShapeGeneratorPtr getShapeCurveGenerator () const
 
void setCrossSectionGenerator (IShapeGeneratorPtr crossSectionGen)
 
void setShapeCurveGenerator (IShapeGeneratorPtr shapeCurveGen)
 

Protected Attributes

IShapeGeneratorPtr _crossSection
 
IShapeGeneratorPtr _shapeCurve
 
BrushStrokeTriangulatorPtr _bst
 
BrushPtr _brush
 
TraitMap traits
 

Constructor & Destructor Documentation

APDYNAMICART::HoopGeometry::HoopGeometry ( IShapeGeneratorPtr  crossSection,
IShapeGeneratorPtr  shapeCurve 
)

Member Function Documentation

void APDYNAMICART::HoopGeometry::createGeometry ( osg::Vec3Array *  crossSectionFixPoints,
osg::Vec3Array *  shapeCurveFixPoints 
)
  1. Ziskame nejak body (snimanim, zadanim, vypocitanim, atd.) + nekdy dostaneme i orientaci => Sample(Position, Orientation) OPT: 1a. Interpolujeme je
  2. Vytvorime Brush a naplnime hodnoty
const IShapeGeneratorPtr APDYNAMICART::HoopGeometry::getCrossSectionGenerator ( ) const
inline

Getters and setters

inline functions

const IShapeGeneratorPtr APDYNAMICART::HoopGeometry::getShapeCurveGenerator ( ) const
inline
void APDYNAMICART::HoopGeometry::setCrossSectionGenerator ( IShapeGeneratorPtr  crossSectionGen)
inline
void APDYNAMICART::HoopGeometry::setShapeCurveGenerator ( IShapeGeneratorPtr  shapeCurveGen)
inline

Member Data Documentation

BrushPtr APDYNAMICART::HoopGeometry::_brush
protected
BrushStrokeTriangulatorPtr APDYNAMICART::HoopGeometry::_bst
protected
IShapeGeneratorPtr APDYNAMICART::HoopGeometry::_crossSection
protected
IShapeGeneratorPtr APDYNAMICART::HoopGeometry::_shapeCurve
protected
TraitMap APDYNAMICART::HoopGeometry::traits
protected

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