Documentation


animal::octree::animal::octree::FastOctree< T, S, U >::Face Class Reference

#include <ParametersCalculus.h>

List of all members.


Detailed Description

template<class T, class S, class U>
class animal::octree::animal::octree::FastOctree< T, S, U >::Face

This class allows to retrieve per face information. It is basically a place holder to access different look-up tables. Typical use is to draw the octree.

One interesting property is that the vertices are correctly ordered in sequence and in respect with orientation of the normal.

Definition at line 1093 of file ParametersCalculus.h.

Public Member Functions

Vertexvertex (unsigned short i) const
unsigned short pos () const
VertexvertexAtCenter () const
const FloatingPointTypenormal () const

Protected Member Functions

 Face (const Cell *cell, unsigned short pos)

Private Attributes

const Cellcell_
unsigned short pos_

Friends

class Cell


Constructor & Destructor Documentation

template<class T, class S, class U>
animal::octree::animal::octree::FastOctree< T, S, U >::Face::Face const Cell cell,
unsigned short  pos
[inline, protected]
 

Definition at line 2322 of file fastoctreedeformableconstrained.h.


Member Function Documentation

template<class T, class S, class U>
const FloatingPointType * animal::octree::animal::octree::FastOctree< T, S, U >::Face::normal  )  const [inline]
 

Return a unit normal perpendicular to the face and going outside of the cell. Beware, it does not account for the cell sizes in the different directions.

Definition at line 2306 of file fastoctreedeformableconstrained.h.

References animal::octree::FloatingPointType.

template<class T, class S, class U>
unsigned short animal::octree::animal::octree::FastOctree< T, S, U >::Face::pos  )  const [inline]
 

Returns at which position of the cell this face is.

Definition at line 2284 of file fastoctreedeformableconstrained.h.

template<class T, class S, class U>
FastOctree< T, S, U >::Vertex * animal::octree::animal::octree::FastOctree< T, S, U >::Face::vertex unsigned short  i  )  const [inline]
 

Return a pointer to the i ieme vertex of the face.

Definition at line 2275 of file fastoctreedeformableconstrained.h.

References animal::octree::animal::octree::FastOctree< T, S, U >::Cell::vertex().

template<class T, class S, class U>
FastOctree< T, S, U >::Vertex * animal::octree::animal::octree::FastOctree< T, S, U >::Face::vertexAtCenter  )  const [inline]
 

Return a point who coincides with the center of the viewcell. Be carreful that if the cell is subdivided, this is not the point that the children share!

Definition at line 2295 of file fastoctreedeformableconstrained.h.

References animal::octree::animal::octree::FastOctree< T, S, U >::Cell::vertexPtrAtCenterOfFace().


Friends And Related Function Documentation

template<class T, class S, class U>
friend class Cell [friend]
 

Definition at line 1101 of file ParametersCalculus.h.


Member Data Documentation

template<class T, class S, class U>
const Cell* animal::octree::animal::octree::FastOctree< T, S, U >::Face::cell_ [private]
 

Definition at line 1104 of file ParametersCalculus.h.

template<class T, class S, class U>
unsigned short animal::octree::animal::octree::FastOctree< T, S, U >::Face::pos_ [private]
 

Definition at line 1105 of file ParametersCalculus.h.


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:52:34 2004 by doxygen 1.3.6