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

#include <Geometry.h>

Inheritance diagram for WGeometry::WG_Point:

Public Member Functions

 WG_Point (osg::Vec2 position, float height=RE_DEFAULT_HEIGHT)
 
virtual ~WG_Point ()
 
void setPosition (osg::Vec2 position)
 
osg::Vec2 getPosition ()
 
float getHeight ()
 
void addWall (WG_Wall *wall, PointType connectionPointType, bool compute=true)
 
void removeWall (WG_Wall *wall)
 
std::vector< std::pair
< osg::ref_ptr< WG_Wall >
, PointType > > * 
getWalls ()
 
void setId (unsigned int i)
 
unsigned int getId ()
 
void setIndexTop (unsigned int i)
 
unsigned int getIndexTop ()
 
void setIndexBottom (unsigned int i)
 
unsigned int getIndexBottom ()
 
std::vector< osg::Vec3 > * getPlusVertices ()
 
std::vector< osg::Vec3 > * getPlusNormals ()
 
std::vector< osg::Vec3 > * getPlusColors ()
 
bool getWallNeighbours (WG_Wall *wall, std::pair< osg::ref_ptr< WG_Wall >, PointType > &wallCW, std::pair< osg::ref_ptr< WG_Wall >, PointType > &wallCCW)
 

Constructor & Destructor Documentation

WGeometry::WG_Point::WG_Point ( osg::Vec2  position,
float  height = RE_DEFAULT_HEIGHT 
)
inline
virtual WGeometry::WG_Point::~WG_Point ( )
inlinevirtual

Member Function Documentation

void WGeometry::WG_Point::addWall ( WG_Wall wall,
PointType  connectionPointType,
bool  compute = true 
)
float WGeometry::WG_Point::getHeight ( )
inline
unsigned int WGeometry::WG_Point::getId ( )
inline
unsigned int WGeometry::WG_Point::getIndexBottom ( )
inline
unsigned int WGeometry::WG_Point::getIndexTop ( )
inline
std::vector<osg::Vec3>* WGeometry::WG_Point::getPlusColors ( )
inline
std::vector<osg::Vec3>* WGeometry::WG_Point::getPlusNormals ( )
inline
std::vector<osg::Vec3>* WGeometry::WG_Point::getPlusVertices ( )
inline
osg::Vec2 WGeometry::WG_Point::getPosition ( )
inline
bool WGeometry::WG_Point::getWallNeighbours ( WG_Wall wall,
std::pair< osg::ref_ptr< WG_Wall >, PointType > &  wallCW,
std::pair< osg::ref_ptr< WG_Wall >, PointType > &  wallCCW 
)
std::vector<std::pair<osg::ref_ptr<WG_Wall>, PointType> >* WGeometry::WG_Point::getWalls ( )
inline
void WGeometry::WG_Point::removeWall ( WG_Wall wall)
void WGeometry::WG_Point::setId ( unsigned int  i)
inline
void WGeometry::WG_Point::setIndexBottom ( unsigned int  i)
inline
void WGeometry::WG_Point::setIndexTop ( unsigned int  i)
inline
void WGeometry::WG_Point::setPosition ( osg::Vec2  position)
inline

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