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

#include <Tool.h>

Inheritance diagram for APRoomEdit::Tool:
APRoomEdit::ColorBucket APRoomEdit::CreateHole APRoomEdit::HoleRemove APRoomEdit::PointAdd APRoomEdit::PointMove APRoomEdit::RoomLoader APRoomEdit::RoomSaver APRoomEdit::WallAdd APRoomEdit::WallMovement APRoomEdit::WallRemove

Public Member Functions

 Tool ()
 
virtual ~Tool ()
 
ToolType getType ()
 
string getName ()
 
void setName (string n)
 
bool isDirty ()
 
void setDirty (bool d)
 
virtual void init (osgUtil::LineSegmentIntersector::Intersection *intersection, WG_Wall *curWall, WG_Point *curPoint, PointType type, vrecko::EnvironmentObject *pEOOwner, std::vector< osg::ref_ptr< WG_Wall > > *walls, std::vector< osg::ref_ptr< WG_Point > > *points, osg::Geode *pOSGGeode, osg::Vec3Array *pOSGVertexArray)
 
virtual void update (osgUtil::LineSegmentIntersector::Intersection *intersection, WG_Wall *curWall, WG_Point *curPoint, PointType type, vrecko::EnvironmentObject *pEOOwner, std::vector< osg::ref_ptr< WG_Wall > > *walls, std::vector< osg::ref_ptr< WG_Point > > *points, osg::Geode *pOSGGeode, osg::Vec3Array *pOSGVertexArray, osg::Vec3 &movingVector)
 
virtual void terminate (osgUtil::LineSegmentIntersector::Intersection *intersection, WG_Wall *curWall, WG_Point *curPoint, PointType type, vrecko::EnvironmentObject *pEOOwner, std::vector< osg::ref_ptr< WG_Wall > > *walls, std::vector< osg::ref_ptr< WG_Point > > *points, osg::Geode *pOSGGeode, osg::Vec3Array *pOSGVertexArray)
 
virtual bool loadXMLParameters (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *pParametersNode)
 

Protected Attributes

ToolType type
 
bool dirty
 
std::string name
 

Constructor & Destructor Documentation

APRoomEdit::Tool::Tool ( )
inline
virtual APRoomEdit::Tool::~Tool ( )
inlinevirtual

Member Function Documentation

string APRoomEdit::Tool::getName ( void  )
inline
ToolType APRoomEdit::Tool::getType ( void  )
inline
virtual void APRoomEdit::Tool::init ( osgUtil::LineSegmentIntersector::Intersection *  intersection,
WG_Wall curWall,
WG_Point curPoint,
PointType  type,
vrecko::EnvironmentObject pEOOwner,
std::vector< osg::ref_ptr< WG_Wall > > *  walls,
std::vector< osg::ref_ptr< WG_Point > > *  points,
osg::Geode *  pOSGGeode,
osg::Vec3Array *  pOSGVertexArray 
)
inlinevirtual
bool APRoomEdit::Tool::isDirty ( )
inline
virtual bool APRoomEdit::Tool::loadXMLParameters ( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  pParametersNode)
inlinevirtual
void APRoomEdit::Tool::setDirty ( bool  d)
inline
void APRoomEdit::Tool::setName ( string  n)
inline
virtual void APRoomEdit::Tool::terminate ( osgUtil::LineSegmentIntersector::Intersection *  intersection,
WG_Wall curWall,
WG_Point curPoint,
PointType  type,
vrecko::EnvironmentObject pEOOwner,
std::vector< osg::ref_ptr< WG_Wall > > *  walls,
std::vector< osg::ref_ptr< WG_Point > > *  points,
osg::Geode *  pOSGGeode,
osg::Vec3Array *  pOSGVertexArray 
)
inlinevirtual

Reimplemented in APRoomEdit::PointMove.

virtual void APRoomEdit::Tool::update ( osgUtil::LineSegmentIntersector::Intersection *  intersection,
WG_Wall curWall,
WG_Point curPoint,
PointType  type,
vrecko::EnvironmentObject pEOOwner,
std::vector< osg::ref_ptr< WG_Wall > > *  walls,
std::vector< osg::ref_ptr< WG_Point > > *  points,
osg::Geode *  pOSGGeode,
osg::Vec3Array *  pOSGVertexArray,
osg::Vec3 &  movingVector 
)
inlinevirtual

Member Data Documentation

bool APRoomEdit::Tool::dirty
protected
std::string APRoomEdit::Tool::name
protected
ToolType APRoomEdit::Tool::type
protected

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