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

#include <Geometry.h>

Inheritance diagram for WGeometry::WG_Wall:

Public Member Functions

 WG_Wall (WG_Point *qPoint, WG_Point *rPoint, bool compute=true)
 
virtual ~WG_Wall ()
 
void setPoints (WG_Point *qPoint, WG_Point *rPoint)
 
void setPoint (WG_Point *point, PointType type)
 
WG_PointgetPoint (PointType type)
 
osg::ref_ptr< WG_PointgetPointRef (PointType type)
 
osg::Vec2 getVector (PointType type)
 
float getAngle (PointType type)
 
WG_VerticesgetVertices (PointType type)
 
void setColor (osg::Vec3 color, PointType type)
 
osg::Vec3 getColor (PointType type)
 
void setId (unsigned int i)
 
unsigned int getId ()
 
void setFlag (int flag)
 
int getFlag ()
 
void setTopNormal (osg::Vec3 n)
 
osg::Vec3 getTopNormal ()
 
void setBottomNormal (osg::Vec3 n)
 
osg::Vec3 getBottomNormal ()
 
void setFaceNormal (osg::Vec3 n, PointType type)
 
osg::Vec3 getFaceNormal (PointType type)
 
std::vector< WG_Hole > * getHoles ()
 
void computeAttrVectorsAndAngles ()
 
bool areAnglesComputed ()
 
void computeAttrVertices (PointType type)
 
void computeAttrVertices ()
 
bool computeAttrNormals ()
 
void computeHoleVertices ()
 

Constructor & Destructor Documentation

WGeometry::WG_Wall::WG_Wall ( WG_Point qPoint,
WG_Point rPoint,
bool  compute = true 
)
inline
virtual WGeometry::WG_Wall::~WG_Wall ( )
inlinevirtual

Member Function Documentation

bool WGeometry::WG_Wall::areAnglesComputed ( )
inline
bool WGeometry::WG_Wall::computeAttrNormals ( )
void WGeometry::WG_Wall::computeAttrVectorsAndAngles ( )
void WGeometry::WG_Wall::computeAttrVertices ( PointType  type)
void WGeometry::WG_Wall::computeAttrVertices ( )
inline
void WGeometry::WG_Wall::computeHoleVertices ( )
float WGeometry::WG_Wall::getAngle ( PointType  type)
inline
osg::Vec3 WGeometry::WG_Wall::getBottomNormal ( )
inline
osg::Vec3 WGeometry::WG_Wall::getColor ( PointType  type)
inline
osg::Vec3 WGeometry::WG_Wall::getFaceNormal ( PointType  type)
inline
int WGeometry::WG_Wall::getFlag ( )
inline
std::vector<WG_Hole>* WGeometry::WG_Wall::getHoles ( )
inline
unsigned int WGeometry::WG_Wall::getId ( )
inline
WG_Point* WGeometry::WG_Wall::getPoint ( PointType  type)
inline
osg::ref_ptr<WG_Point> WGeometry::WG_Wall::getPointRef ( PointType  type)
inline
osg::Vec3 WGeometry::WG_Wall::getTopNormal ( )
inline
osg::Vec2 WGeometry::WG_Wall::getVector ( PointType  type)
inline
WG_Vertices* WGeometry::WG_Wall::getVertices ( PointType  type)
inline
void WGeometry::WG_Wall::setBottomNormal ( osg::Vec3  n)
inline
void WGeometry::WG_Wall::setColor ( osg::Vec3  color,
PointType  type 
)
inline
void WGeometry::WG_Wall::setFaceNormal ( osg::Vec3  n,
PointType  type 
)
inline
void WGeometry::WG_Wall::setFlag ( int  flag)
inline
void WGeometry::WG_Wall::setId ( unsigned int  i)
inline
void WGeometry::WG_Wall::setPoint ( WG_Point point,
PointType  type 
)
inline
void WGeometry::WG_Wall::setPoints ( WG_Point qPoint,
WG_Point rPoint 
)
inline
void WGeometry::WG_Wall::setTopNormal ( osg::Vec3  n)
inline

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