sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes > Class Template Reference

A class that provides geometry information on an HexahedronSet. More...

#include <HexahedronSetGeometryAlgorithms.h>

Inheritance diagram for sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >:

Collaboration graph
[legend]

Public Types

typedef DataTypes::VecCoord VecCoord
typedef DataTypes::Real Real
typedef DataTypes::Coord Coord

Public Member Functions

 HexahedronSetGeometryAlgorithms ()
virtual ~HexahedronSetGeometryAlgorithms ()
Real computeHexahedronVolume (const unsigned int i) const
 computes the volume of hexahedron no i and returns it
void computeHexahedronVolume (BasicArrayInterface< Real > &ai) const
 computes the hexahedron volume of all hexahedra are store in the array interface
Real computeRestHexahedronVolume (const unsigned int i) const
 computes the hexahedron volume of hexahedron no i and returns it
void writeMSHfile (const char *filename)
 Write the current mesh into a msh file.

Detailed Description

template<class DataTypes>
class sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >

A class that provides geometry information on an HexahedronSet.

Definition at line 54 of file HexahedronSetGeometryAlgorithms.h.


Member Typedef Documentation

template<class DataTypes >
typedef DataTypes::Coord sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::Coord

template<class DataTypes >
typedef DataTypes::Real sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::Real

template<class DataTypes >
typedef DataTypes::VecCoord sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::VecCoord


Constructor & Destructor Documentation

template<class DataTypes >
sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::HexahedronSetGeometryAlgorithms (  )  [inline]

Definition at line 61 of file HexahedronSetGeometryAlgorithms.h.

template<class DataTypes >
virtual sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::~HexahedronSetGeometryAlgorithms (  )  [inline, virtual]

Definition at line 65 of file HexahedronSetGeometryAlgorithms.h.


Member Function Documentation

template<class DataTypes >
void sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::computeHexahedronVolume ( BasicArrayInterface< Real > &  ai  )  const [inline]

computes the hexahedron volume of all hexahedra are store in the array interface

: implementation of computeHexahedronVolume

Definition at line 59 of file HexahedronSetGeometryAlgorithms.inl.

References sofa::core::componentmodel::topology::BaseMeshTopology::getNbHexas(), and sofa::component::topology::PointSetGeometryAlgorithms< DataTypes >::m_topology.

template<class DataTypes >
DataTypes::Real sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::computeHexahedronVolume ( const unsigned int  i  )  const [inline]

computes the volume of hexahedron no i and returns it

: implementation of computeHexahedronVolume

Definition at line 41 of file HexahedronSetGeometryAlgorithms.inl.

template<class DataTypes >
DataTypes::Real sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::computeRestHexahedronVolume ( const unsigned int  i  )  const [inline]

computes the hexahedron volume of hexahedron no i and returns it

: implementation of computeRestHexahedronVolume

Definition at line 50 of file HexahedronSetGeometryAlgorithms.inl.

template<typename DataTypes >
void sofa::component::topology::HexahedronSetGeometryAlgorithms< DataTypes >::writeMSHfile ( const char *  filename  )  [inline]


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

Generated on Sun Nov 23 04:21:26 2008 for Sofa by  doxygen 1.5.7.1