Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btMiniSDF Struct Reference

#include <btMiniSDF.h>

Collaboration diagram for btMiniSDF:
Collaboration graph
[legend]

Public Member Functions

 btMiniSDF ()
 
bool load (const char *data, int size)
 
bool isValid () const
 
unsigned int multiToSingleIndex (btMultiIndex const &ijk) const
 
btAlignedBox3d subdomain (btMultiIndex const &ijk) const
 
btMultiIndex singleToMultiIndex (unsigned int l) const
 
btAlignedBox3d subdomain (unsigned int l) const
 
btShapeMatrix shape_function_ (btVector3 const &xi, btShapeGradients *gradient=0) const
 
bool interpolate (unsigned int field_id, double &dist, btVector3 const &x, btVector3 *gradient) const
 

Public Attributes

btAlignedBox3d m_domain
 
unsigned int m_resolution [3]
 
btVector3 m_cell_size
 
btVector3 m_inv_cell_size
 
std::size_t m_n_cells
 
std::size_t m_n_fields
 
bool m_isValid
 
btAlignedObjectArray< btAlignedObjectArray< double > > m_nodes
 
btAlignedObjectArray< btAlignedObjectArray< btCell32 > > m_cells
 
btAlignedObjectArray< btAlignedObjectArray< unsigned int > > m_cell_map
 

Detailed Description

Definition at line 93 of file btMiniSDF.h.

Constructor & Destructor Documentation

btMiniSDF::btMiniSDF ( )
inline

Definition at line 109 of file btMiniSDF.h.

Member Function Documentation

bool btMiniSDF::interpolate ( unsigned int  field_id,
double &  dist,
btVector3 const &  x,
btVector3 gradient 
) const

Definition at line 452 of file btMiniSDF.cpp.

bool btMiniSDF::isValid ( ) const
inline

Definition at line 114 of file btMiniSDF.h.

bool btMiniSDF::load ( const char *  data,
int  size 
)

Definition at line 46 of file btMiniSDF.cpp.

unsigned int btMiniSDF::multiToSingleIndex ( btMultiIndex const &  ijk) const

Definition at line 158 of file btMiniSDF.cpp.

btShapeMatrix btMiniSDF::shape_function_ ( btVector3 const &  xi,
btShapeGradients gradient = 0 
) const

Definition at line 204 of file btMiniSDF.cpp.

btMultiIndex btMiniSDF::singleToMultiIndex ( unsigned int  l) const

Definition at line 180 of file btMiniSDF.cpp.

btAlignedBox3d btMiniSDF::subdomain ( btMultiIndex const &  ijk) const

Definition at line 164 of file btMiniSDF.cpp.

btAlignedBox3d btMiniSDF::subdomain ( unsigned int  l) const

Definition at line 196 of file btMiniSDF.cpp.

Member Data Documentation

btAlignedObjectArray<btAlignedObjectArray<unsigned int> > btMiniSDF::m_cell_map

Definition at line 107 of file btMiniSDF.h.

btVector3 btMiniSDF::m_cell_size

Definition at line 98 of file btMiniSDF.h.

Definition at line 106 of file btMiniSDF.h.

btAlignedBox3d btMiniSDF::m_domain

Definition at line 96 of file btMiniSDF.h.

btVector3 btMiniSDF::m_inv_cell_size

Definition at line 99 of file btMiniSDF.h.

bool btMiniSDF::m_isValid

Definition at line 102 of file btMiniSDF.h.

std::size_t btMiniSDF::m_n_cells

Definition at line 100 of file btMiniSDF.h.

std::size_t btMiniSDF::m_n_fields

Definition at line 101 of file btMiniSDF.h.

btAlignedObjectArray<btAlignedObjectArray<double> > btMiniSDF::m_nodes

Definition at line 105 of file btMiniSDF.h.

unsigned int btMiniSDF::m_resolution[3]

Definition at line 97 of file btMiniSDF.h.


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