iso::space::SpaceGridTools Class Reference

#include <iso_space_grid_tools.h>

Collaboration diagram for iso::space::SpaceGridTools:

Collaboration graph
[legend]
List of all members.

Public Member Functions

SpaceGrid createGrid (const base::String &pFileName)
 create space grid from file
SpaceGrid createDistanceGrid (const Vector3< unsigned int > &pGridSubdivisionCount, const math::Vector3< real > &pGridMinPos, const math::Vector3< real > &pGridMaxPos, MeshShape &pMeshShape)
 create distance space grid from mesh shape
void createDistanceGrid (SpaceGrid &pSpaceGrid, SpaceShape &pShape)
 create distance space grid for space shape
void createDistanceGrid (SpaceGrid &pSpaceGrid, SpaceShape &pShape, math::VectorField< real > &pScale)
 create distance space grid for space shape

Static Public Member Functions

static SpaceGridToolsget ()
 obtain singleton instance
static void destroy ()
 destroy singleton instance

Protected Member Functions

 SpaceGridTools ()
 default constructor
 ~SpaceGridTools ()
 destructor

Static Protected Attributes

static SpaceGridToolssSpaceGridTools

Constructor & Destructor Documentation

SpaceGridTools::SpaceGridTools (  )  [protected]

default constructor

SpaceGridTools::~SpaceGridTools (  )  [protected]

destructor


Member Function Documentation

SpaceGridTools & SpaceGridTools::get (  )  [static]

obtain singleton instance

Returns:
singleton instance

void SpaceGridTools::destroy (  )  [static]

destroy singleton instance

SpaceGrid SpaceGridTools::createGrid ( const base::String &  pFileName  ) 

create space grid from file

Returns:
space grid
not yet implemented!!

SpaceGrid SpaceGridTools::createDistanceGrid ( const Vector3< unsigned int > &  pGridSubdivisionCount,
const math::Vector3< real > &  pGridMinPos,
const math::Vector3< real > &  pGridMaxPos,
MeshShape pMeshShape 
)

create distance space grid from mesh shape

Parameters:
pGridSubdivisionCount number of space grid subdivisions
pGridMinPos minimum space grid position
pGridMaxPos maximum space grid position
pMeshShape mesh shape
Returns:
space grid
calculates distance field in world coordinates.
the distance vectors point from individual grid positions towards to closest position on the mesh shape's triangulated surface

void SpaceGridTools::createDistanceGrid ( SpaceGrid pSpaceGrid,
SpaceShape pShape 
)

create distance space grid for space shape

Parameters:
pSpaceGrid space grid
pShape shape
Remarks:
fails if dimensions don't match
calculates distance field in world coordinates.
the distance vectors point from individual grid positions towards to closest position to the space shape object

void SpaceGridTools::createDistanceGrid ( SpaceGrid pSpaceGrid,
SpaceShape pShape,
math::VectorField< real > &  pScale 
)

create distance space grid for space shape

Parameters:
pSpaceGrid space grid
pShape shape
pScale distance scale
Remarks:
fails if dimensions don't match
calculates distance field in world coordinates.
the distance vectors point from individual grid positions towards to closest position to the space shape object


Member Data Documentation

SpaceGridTools * SpaceGridTools::sSpaceGridTools [static, protected]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:08:15 2011 for iso_space by  doxygen 1.5.1