OpenIndy-Core  0.2.0.43
oi::Direction Class Reference

#include <direction.h>

Inheritance diagram for oi::Direction:
oi::Element

Public Member Functions

 Direction (QObject *parent=0)
 Direction::Direction. More...
 
 Direction (const OiVec &v, QObject *parent=0)
 Direction::Direction. More...
 
 Direction (const double &x, const double &y, const double &z, const double &h=1.0, QObject *parent=0)
 Direction::Direction. More...
 
 Direction (const Direction &copy, QObject *parent=0)
 Direction::Direction. More...
 
Directionoperator= (const Direction &copy)
 Direction::operator =. More...
 
 ~Direction ()
 Direction::~Direction. More...
 
void setVector (const double &x, const double &y, const double &z, const double &h=1.0)
 Direction::setVector. More...
 
void setVector (const OiVec &v)
 Direction::setVector. More...
 
const OiVecgetVector () const
 Direction::getVector. More...
 
const OiVecgetVectorH () const
 Direction::getVectorH. More...
 
- Public Member Functions inherited from oi::Element
 Element (QObject *parent=0)
 
 Element (const Element &copy, QObject *parent=0)
 
Elementoperator= (const Element &copy)
 
virtual ~Element ()
 
int getId () const
 Element::getId. More...
 
virtual QDomElement toOpenIndyXML (QDomDocument &xmlDoc) const
 Element::setId. More...
 
virtual bool fromOpenIndyXML (QDomElement &xmlElem)
 Element::fromOpenIndyXML. More...
 

Additional Inherited Members

- Signals inherited from oi::Element
void elementAboutToBeDeleted (const int &elementId, const QString &name, const QString &group, const FeatureTypes &type)
 
- Protected Attributes inherited from oi::Element
int id
 

Constructor & Destructor Documentation

Direction::Direction ( QObject *  parent = 0)
explicit

Direction::Direction.

Parameters
parent
Direction::Direction ( const OiVec v,
QObject *  parent = 0 
)
explicit

Direction::Direction.

Parameters
v
parent
Direction::Direction ( const double &  x,
const double &  y,
const double &  z,
const double &  h = 1.0,
QObject *  parent = 0 
)
explicit

Direction::Direction.

Parameters
x
y
z
parent
Direction::Direction ( const Direction copy,
QObject *  parent = 0 
)

Direction::Direction.

Parameters
copy
parent
Direction::~Direction ( )

Member Function Documentation

const OiVec & Direction::getVector ( ) const
const OiVec & Direction::getVectorH ( ) const
Direction & Direction::operator= ( const Direction copy)

Direction::operator =.

Parameters
copy
Returns
void Direction::setVector ( const double &  x,
const double &  y,
const double &  z,
const double &  h = 1.0 
)

Direction::setVector.

Parameters
x
y
z
void Direction::setVector ( const OiVec v)

Direction::setVector.

Parameters
v

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