Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Public Attributes | List of all members
ORepere3D Class Reference

3D frame with a point and 3 vectors. More...

#include <3d.h>

Inheritance diagram for ORepere3D:
Inheritance graph
[legend]
Collaboration diagram for ORepere3D:
Collaboration graph
[legend]

Public Member Functions

 ORepere3D ()
 Default constructor. More...
 
 ORepere3D (const ORepere3D &repere)
 Copy constructor. More...
 
 ORepere3D (const OPoint3D &origin, const OVector3D &vecI, const OVector3D &vecJ, const OVector3D &vecK)
 Constructor with a point and 3 vectors. More...
 
 ORepere3D (const OPoint3D &origin, const OVector3D &vec)
 Constructor with a point and 1 vectors. build an arbitrary 3D frame from a point and a single vector. More...
 
 ORepere3D (const OMatrix &matrix)
 
virtual ~ORepere3D ()
 Destructor. More...
 
ORepere3Doperator= (const ORepere3D &repere)
 operator= More...
 
bool operator== (const ORepere3D &repere) const
 operator== More...
 
bool operator!= (const ORepere3D &repere) const
 operator!= More...
 
void set (const OPoint3D &origin, const OVector3D &vecI, const OVector3D &vecJ, const OVector3D &vecK)
 Sets with a point and 3 vectors. More...
 
void set (const OMatrix &matrix)
 Sets from a matrix. More...
 
void normalize ()
 Normalize each vectors composing this frame. More...
 
OMatrix asMatrix () const
 return the transformation matrix from unity to this pose such as this = transform * unity More...
 

Public Attributes

OPoint3D _origin
 The origin point. More...
 
OVector3D _vecI
 Vector I for the X axis. More...
 
OVector3D _vecJ
 Vector J for the Y axis. More...
 
OVector3D _vecK
 Vector K for the Z axis. More...
 

Detailed Description

3D frame with a point and 3 vectors.

Definition at line 1210 of file 3d.h.

Constructor & Destructor Documentation

◆ ORepere3D() [1/5]

ORepere3D::ORepere3D ( )

Default constructor.

Definition at line 1347 of file 3d.cpp.

◆ ORepere3D() [2/5]

ORepere3D::ORepere3D ( const ORepere3D repere)

Copy constructor.

Definition at line 1349 of file 3d.cpp.

◆ ORepere3D() [3/5]

ORepere3D::ORepere3D ( const OPoint3D origin,
const OVector3D vecI,
const OVector3D vecJ,
const OVector3D vecK 
)

Constructor with a point and 3 vectors.

Parameters
originThe origin point.
vecIVector I for the X axis.
vecJVector J for the Y axis.
vecKVector K for the Z axis.

Definition at line 1354 of file 3d.cpp.

◆ ORepere3D() [4/5]

ORepere3D::ORepere3D ( const OPoint3D origin,
const OVector3D vec 
)

Constructor with a point and 1 vectors. build an arbitrary 3D frame from a point and a single vector.

Definition at line 1365 of file 3d.cpp.

Here is the call graph for this function:

◆ ORepere3D() [5/5]

ORepere3D::ORepere3D ( const OMatrix matrix)

Constructor from a matrix

Parameters
matrix

Definition at line 1360 of file 3d.cpp.

Here is the call graph for this function:

◆ ~ORepere3D()

ORepere3D::~ORepere3D ( )
virtual

Destructor.

Definition at line 1384 of file 3d.cpp.

Member Function Documentation

◆ asMatrix()

OMatrix ORepere3D::asMatrix ( ) const

return the transformation matrix from unity to this pose such as this = transform * unity

Returns
The homogeneous matrix associated with this pose (aka ORepere)

Definition at line 1462 of file 3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ normalize()

void ORepere3D::normalize ( )

Normalize each vectors composing this frame.

Definition at line 1455 of file 3d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool ORepere3D::operator!= ( const ORepere3D repere) const

operator!=

Definition at line 1422 of file 3d.cpp.

Here is the call graph for this function:

◆ operator=()

ORepere3D & ORepere3D::operator= ( const ORepere3D repere)

operator=

Definition at line 1386 of file 3d.cpp.

Here is the caller graph for this function:

◆ operator==()

bool ORepere3D::operator== ( const ORepere3D repere) const

operator==

Definition at line 1398 of file 3d.cpp.

Here is the caller graph for this function:

◆ set() [1/2]

void ORepere3D::set ( const OMatrix matrix)

Sets from a matrix.

Parameters
matrixA matrix to set this frame with.

Definition at line 1436 of file 3d.cpp.

Here is the call graph for this function:

◆ set() [2/2]

void ORepere3D::set ( const OPoint3D origin,
const OVector3D vecI,
const OVector3D vecJ,
const OVector3D vecK 
)

Sets with a point and 3 vectors.

Parameters
originThe origin point.
vecIVector I for the X axis.
vecJVector J for the Y axis.
vecKVector K for the Z axis.

Definition at line 1427 of file 3d.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ _origin

OPoint3D ORepere3D::_origin

The origin point.

Definition at line 1279 of file 3d.h.

◆ _vecI

OVector3D ORepere3D::_vecI

Vector I for the X axis.

Definition at line 1281 of file 3d.h.

◆ _vecJ

OVector3D ORepere3D::_vecJ

Vector J for the Y axis.

Definition at line 1283 of file 3d.h.

◆ _vecK

OVector3D ORepere3D::_vecK

Vector K for the Z axis.

Definition at line 1285 of file 3d.h.


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