vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
APEditorQAbilities::ObjectMovement::SnapBox Class Reference

#include <ObjectMovement.h>

Public Member Functions

 SnapBox ()
 
 ~SnapBox ()
 
void setOwner (ObjectMovement *_owner)
 
void updateShape (const osg::Vec3 &center, const osg::Vec3 &halfLengths, const osg::Matrix &transform)
 
bool show ()
 
bool hide ()
 

Protected Member Functions

bool Init ()
 
void Done ()
 

Protected Attributes

osg::ref_ptr< EnvironmentObjectgraphicObject
 
osg::ref_ptr< osg::Geode > osgGeode
 
osg::ref_ptr
< osg::MatrixTransform > 
osgTransform
 
osg::ref_ptr< osg::Box > shapeBox
 
osg::ref_ptr< osg::ShapeDrawable > shapeDraw
 
osg::Vec4 color
 
ObjectMovementowner
 

Constructor & Destructor Documentation

APEditorQAbilities::ObjectMovement::SnapBox::SnapBox ( )
inline
APEditorQAbilities::ObjectMovement::SnapBox::~SnapBox ( )
inline

Member Function Documentation

void APEditorQAbilities::ObjectMovement::SnapBox::Done ( )
protected
bool APEditorQAbilities::ObjectMovement::SnapBox::hide ( )
bool APEditorQAbilities::ObjectMovement::SnapBox::Init ( )
protected
void APEditorQAbilities::ObjectMovement::SnapBox::setOwner ( ObjectMovement _owner)
inline
bool APEditorQAbilities::ObjectMovement::SnapBox::show ( )
void APEditorQAbilities::ObjectMovement::SnapBox::updateShape ( const osg::Vec3 &  center,
const osg::Vec3 &  halfLengths,
const osg::Matrix &  transform 
)

Member Data Documentation

osg::Vec4 APEditorQAbilities::ObjectMovement::SnapBox::color
protected
osg::ref_ptr<EnvironmentObject> APEditorQAbilities::ObjectMovement::SnapBox::graphicObject
protected
osg::ref_ptr<osg::Geode> APEditorQAbilities::ObjectMovement::SnapBox::osgGeode
protected
osg::ref_ptr<osg::MatrixTransform> APEditorQAbilities::ObjectMovement::SnapBox::osgTransform
protected
ObjectMovement* APEditorQAbilities::ObjectMovement::SnapBox::owner
protected
osg::ref_ptr<osg::Box> APEditorQAbilities::ObjectMovement::SnapBox::shapeBox
protected
osg::ref_ptr<osg::ShapeDrawable> APEditorQAbilities::ObjectMovement::SnapBox::shapeDraw
protected

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