MbMeshGeometry< _Vec3T > Class Template Reference
[Geometry]

MeshViz Defines a set of 3D coordinates. More...

#include <MeshVizXLM/mesh/geometry/MbMeshGeometry.h>

Inheritance diagram for MbMeshGeometry< _Vec3T >:
MiGeometryI MbGeometry MiGeometry MiGeometry

List of all members.

Public Member Functions

 MbMeshGeometry ()
template<typename _Vec3Iter >
 MbMeshGeometry (_Vec3Iter begin, _Vec3Iter end)
template<typename _Vec3Iter >
void assign (_Vec3Iter begin, _Vec3Iter end)
virtual MbVec3d getMin () const
virtual MbVec3d getMax () const
virtual MbVec3d getCoord (size_t i) const
_Vec3T & operator[] (size_t i)
const _Vec3T & operator[] (size_t i) const
MbVec3d getCenter () const
size_t getSize () const
void rotate (double angle, size_t rotaxis, const _Vec3T *rotationCenter=NULL)
template<typename _FunctorT >
void transform (const _FunctorT &func)

Detailed Description

template<typename _Vec3T = MbVec3d>
class MbMeshGeometry< _Vec3T >

MeshViz Defines a set of 3D coordinates.


Constructor & Destructor Documentation

template<typename _Vec3T = MbVec3d>
MbMeshGeometry< _Vec3T >::MbMeshGeometry (  )  [inline]
template<typename _Vec3T = MbVec3d>
template<typename _Vec3Iter >
MbMeshGeometry< _Vec3T >::MbMeshGeometry ( _Vec3Iter  begin,
_Vec3Iter  end 
) [inline]

Constructor.


Member Function Documentation

template<typename _Vec3T = MbVec3d>
template<typename _Vec3Iter >
void MbMeshGeometry< _Vec3T >::assign ( _Vec3Iter  begin,
_Vec3Iter  end 
) [inline]

Change the content of this dataset.

Clears the current content and copy the data from the interval [begin,end[. The timestamp of this dataset is incremented.

template<typename _Vec3T = MbVec3d>
MbVec3d MbMeshGeometry< _Vec3T >::getCenter (  )  const [inline]
template<typename _Vec3T = MbVec3d>
virtual MbVec3d MbMeshGeometry< _Vec3T >::getCoord ( size_t  i  )  const [inline, virtual]

Returns the coordinate (i) of this geometry.

Implements MiGeometryI.

template<typename _Vec3T >
MbVec3d MbMeshGeometry< _Vec3T >::getMax (  )  const [inline, virtual]

Return the max point of this parallelepiped.

Reimplemented from MiGeometry.

template<typename _Vec3T >
MbVec3d MbMeshGeometry< _Vec3T >::getMin (  )  const [inline, virtual]

Return the min point of this parallelepiped.

Reimplemented from MiGeometry.

template<typename _Vec3T >
size_t MbMeshGeometry< _Vec3T >::getSize ( void   )  const [inline]
template<typename _Vec3T = MbVec3d>
const _Vec3T& MbMeshGeometry< _Vec3T >::operator[] ( size_t  i  )  const [inline]
template<typename _Vec3T = MbVec3d>
_Vec3T& MbMeshGeometry< _Vec3T >::operator[] ( size_t  i  )  [inline]
template<typename _Vec3T>
void MbMeshGeometry< _Vec3T >::rotate ( double  angle,
size_t  rotaxis,
const _Vec3T *  rotationCenter = NULL 
) [inline]
template<typename _Vec3T >
template<typename _FunctorT >
void MbMeshGeometry< _Vec3T >::transform ( const _FunctorT &  func  )  [inline]

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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/