Relative position of a child-volume inside a parent-volume. More...
#include <DDPosData.h>
Public Member Functions | |
DDPosData (const DDTranslation &t, const DDRotation &r, int c, const DDDivision *d=NULL) | |
Creates a new relative position. More... | |
const DDDivision & | div () const |
const DDDivision & | division () const |
const DDRotationMatrix & | rot () const |
const DDRotationMatrix & | rotation () const |
const DDTranslation & | trans () const |
const DDTranslation & | translation () const |
Public Attributes | |
int | copyno_ |
const DDDivision * | div_ |
void * | replication_ |
DDRotation | rot_ |
DDTranslation | trans_ |
Private Member Functions | |
DDPosData () | |
DDPosData & | operator= (const DDPosData &) |
Relative position of a child-volume inside a parent-volume.
simple struct to collect information concerning the relative position of a child inside its parent.
replication is currently unused!
Definition at line 16 of file DDPosData.h.
|
inline |
Creates a new relative position.
t
relative translation std::vector r
relative rotation matrix c
copy numberUsers normally don't create DDPosData themselves. They get read access to relative positionings via DDPosData in DDCompactView.
Definition at line 26 of file DDPosData.h.
|
private |
|
inline |
|
inline |
|
inline |
Definition at line 41 of file DDPosData.h.
References rot_, and DDRotation::rotation().
Referenced by DDExpandedView::firstChild(), and DDExpandedView::nextSibling().
|
inline |
Definition at line 40 of file DDPosData.h.
References rot_, and DDRotation::rotation().
|
inline |
|
inline |
Definition at line 37 of file DDPosData.h.
References trans_.
Referenced by DDCoreToDDXMLOutput::position().
int DDPosData::copyno_ |
copy number
Definition at line 52 of file DDPosData.h.
Referenced by DDExpandedNode::copyno(), DDExpandedNode::operator==(), and DDCoreToDDXMLOutput::position().
const DDDivision* DDPosData::div_ |
provides original division that created this pos
Definition at line 53 of file DDPosData.h.
Referenced by div(), and division().
void* DDPosData::replication_ |
currently not used!
Definition at line 51 of file DDPosData.h.
DDRotation DDPosData::rot_ |
relative rotation matrix
Definition at line 49 of file DDPosData.h.
Referenced by DDCheckPD(), DDCoreToDDXMLOutput::position(), rot(), and rotation().
DDTranslation DDPosData::trans_ |
relative translation std::vector
Definition at line 47 of file DDPosData.h.
Referenced by DDExpandedView::firstChild(), trans(), and translation().