OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
rbeWrapper::RubberbandOsgWrapper Class Reference

#include "RubberbandOsgWrapper.h"

Inheritance diagram for rbeWrapper::RubberbandOsgWrapper:
rbeCore::RubberbandEngine

Public Member Functions

 RubberbandOsgWrapper (osg::Switch *_parentGroup, coordinate_t _originU, coordinate_t _originV, coordinate_t _originW)
 
virtual ~RubberbandOsgWrapper ()
 
virtual void addPoint (rbeCore::Point *_point) override
 
virtual void replaceOrigin (coordinate_t _originU, coordinate_t _originV, coordinate_t _originW) override
 
virtual void updateCurrent (coordinate_t _currentU, coordinate_t _currentV, coordinate_t _currentW) override
 
virtual void setupFromJson (const char *_json) override
 
virtual void clear (void) override
 
virtual void activateStepOne (void) override
 Will enable the Origin pick mode The origin pick mode is allowing the user the select the origin of the geometry.
 
virtual void activateNextStep (void) override
 Will activate the next step Can be used to activate the first step if the origin should not be picked by the used.
 
virtual void applyCurrentStep (void) override
 
osg::Geode * osgNode (void)
 
float lineColorR (void) const
 
float lineColorG (void) const
 
float lineColorB (void) const
 
bool isDepthTestActive (void) const
 
void setLineColor (float _r, float _g, float _b)
 
void setDepthTestActive (bool _isActive)
 
- Public Member Functions inherited from rbeCore::RubberbandEngine
 RubberbandEngine (coordinate_t _originU, coordinate_t _originV, coordinate_t _originW)
 
virtual ~RubberbandEngine ()
 
NumericPointorigin (void)
 
NumericPointcurrent (void)
 
Pointpoint (int _id)
 
bool hasPoint (int _id)
 
int currentStep (void) const
 
bool hasStep (int _id)
 
Stepstep (int _id)
 
std::string debugInformation (void)
 
std::string connectionsJsonArray (void)
 
std::list< AbstractConnection * > connectionsToDisplay (void)
 
std::map< int, Point * > & points (void)
 
std::string pointsJsonArray (void)
 
bool hasNextStep (void)
 

Protected Member Functions

void calculateEdges (std::list< osg::Vec3 > &_list)
 

Constructor & Destructor Documentation

◆ RubberbandOsgWrapper()

rbeWrapper::RubberbandOsgWrapper::RubberbandOsgWrapper ( osg::Switch * _parentGroup,
coordinate_t _originU,
coordinate_t _originV,
coordinate_t _originW )

◆ ~RubberbandOsgWrapper()

rbeWrapper::RubberbandOsgWrapper::~RubberbandOsgWrapper ( )
virtual

Member Function Documentation

◆ activateNextStep()

void rbeWrapper::RubberbandOsgWrapper::activateNextStep ( void )
overridevirtual

Will activate the next step Can be used to activate the first step if the origin should not be picked by the used.

Reimplemented from rbeCore::RubberbandEngine.

◆ activateStepOne()

void rbeWrapper::RubberbandOsgWrapper::activateStepOne ( void )
overridevirtual

Will enable the Origin pick mode The origin pick mode is allowing the user the select the origin of the geometry.

Reimplemented from rbeCore::RubberbandEngine.

◆ addPoint()

void rbeWrapper::RubberbandOsgWrapper::addPoint ( rbeCore::Point * _point)
overridevirtual

Reimplemented from rbeCore::RubberbandEngine.

◆ applyCurrentStep()

void rbeWrapper::RubberbandOsgWrapper::applyCurrentStep ( void )
overridevirtual

Reimplemented from rbeCore::RubberbandEngine.

◆ calculateEdges()

void rbeWrapper::RubberbandOsgWrapper::calculateEdges ( std::list< osg::Vec3 > & _list)
protected

◆ clear()

void rbeWrapper::RubberbandOsgWrapper::clear ( void )
overridevirtual

Reimplemented from rbeCore::RubberbandEngine.

◆ isDepthTestActive()

bool rbeWrapper::RubberbandOsgWrapper::isDepthTestActive ( void ) const
inline

◆ lineColorB()

float rbeWrapper::RubberbandOsgWrapper::lineColorB ( void ) const
inline

◆ lineColorG()

float rbeWrapper::RubberbandOsgWrapper::lineColorG ( void ) const
inline

◆ lineColorR()

float rbeWrapper::RubberbandOsgWrapper::lineColorR ( void ) const
inline

◆ osgNode()

osg::Geode * rbeWrapper::RubberbandOsgWrapper::osgNode ( void )
inline

◆ replaceOrigin()

void rbeWrapper::RubberbandOsgWrapper::replaceOrigin ( coordinate_t _originU,
coordinate_t _originV,
coordinate_t _originW )
overridevirtual

Reimplemented from rbeCore::RubberbandEngine.

◆ setDepthTestActive()

void rbeWrapper::RubberbandOsgWrapper::setDepthTestActive ( bool _isActive)
inline

◆ setLineColor()

void rbeWrapper::RubberbandOsgWrapper::setLineColor ( float _r,
float _g,
float _b )
inline

◆ setupFromJson()

void rbeWrapper::RubberbandOsgWrapper::setupFromJson ( const char * _json)
overridevirtual

Reimplemented from rbeCore::RubberbandEngine.

◆ updateCurrent()

void rbeWrapper::RubberbandOsgWrapper::updateCurrent ( coordinate_t _currentU,
coordinate_t _currentV,
coordinate_t _currentW )
overridevirtual

Reimplemented from rbeCore::RubberbandEngine.


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