OpenIndy-Core  0.2.0.43
oi::Position Class Reference

The Position class. More...

#include <position.h>

Inheritance diagram for oi::Position:
oi::Element

Public Member Functions

 Position (QObject *parent=0)
 Position::Position. More...
 
 Position (const OiVec &v, QObject *parent=0)
 Position::Position. More...
 
 Position (const double &x, const double &y, const double &z, const double &h=1.0, QObject *parent=0)
 Position::Position. More...
 
 Position (const Position &copy, QObject *parent=0)
 Position::Position. More...
 
Positionoperator= (const Position &copy)
 Position::operator =. More...
 
 ~Position ()
 Position::~Position. More...
 
void setVector (const OiVec &v)
 Position::setVector. More...
 
void setVector (const double &x, const double &y, const double &z, const double &h=1.0)
 Position::setVector. More...
 
const OiVecgetVector () const
 Position::getVector. More...
 
const OiVecgetVectorH () const
 Position::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...
 

Protected Attributes

OiVec xyz
 
OiVec xyzH
 
- Protected Attributes inherited from oi::Element
int id
 

Additional Inherited Members

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

Detailed Description

The Position class.

Constructor & Destructor Documentation

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

Position::Position.

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

Position::Position.

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

Position::Position.

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

Position::Position.

Parameters
copy
parent
Position::~Position ( )

Member Function Documentation

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

Position::operator =.

Parameters
copy
Returns
void Position::setVector ( const OiVec v)

Position::setVector.

Parameters
v
void Position::setVector ( const double &  x,
const double &  y,
const double &  z,
const double &  h = 1.0 
)

Position::setVector.

Parameters
x
y
z
h

Member Data Documentation

OiVec oi::Position::xyz
protected
OiVec oi::Position::xyzH
protected

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