vcg::GridStaticObj< ObjType, FLT > Class Template Reference

#include <grid_static_obj.h>

Inheritance diagram for vcg::GridStaticObj< ObjType, FLT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<class FLT2 >
void Create (const Box3< FLT2 > &b, int ncell, const ObjType &init, bool Inflate=true)
void Create (const Point3i &_siz, const ObjType &init)
ObjType & Grid (const Point3< FLT > &p)
ObjType & Grid (const int x, const int y, const int z)
 Date le coordinate ritorna la cella.
int GridIndF (const Point3< FLT > &p) const
int GridIndI (const Point3i &pi) const
 GridStaticObj ()
void Init (const ObjType &val)
int size () const
 ~GridStaticObj ()

Public Attributes

ObjType * grid
 La matriciona della griglia.

Detailed Description

template<class ObjType, class FLT = float>
class vcg::GridStaticObj< ObjType, FLT >

Static Uniform Grid A simple Spatial grid of object. Kept in the most trivial way. Every cell is allocated and contains one istance of the template class.

Definition at line 62 of file grid_static_obj.h.


Constructor & Destructor Documentation

template<class ObjType , class FLT = float>
vcg::GridStaticObj< ObjType, FLT >::GridStaticObj (  )  [inline]

Definition at line 71 of file grid_static_obj.h.

template<class ObjType , class FLT = float>
vcg::GridStaticObj< ObjType, FLT >::~GridStaticObj (  )  [inline]

Definition at line 72 of file grid_static_obj.h.


Member Function Documentation

template<class ObjType , class FLT = float>
template<class FLT2 >
void vcg::GridStaticObj< ObjType, FLT >::Create ( const Box3< FLT2 > &  b,
int  ncell,
const ObjType &  init,
bool  Inflate = true 
) [inline]

Crea una griglia di un dato bbox e con un certo numero di elem. il bbox viene gonfiato appositamente.

Definition at line 116 of file grid_static_obj.h.

template<class ObjType , class FLT = float>
void vcg::GridStaticObj< ObjType, FLT >::Create ( const Point3i _siz,
const ObjType &  init 
) [inline]

Definition at line 99 of file grid_static_obj.h.

template<class ObjType , class FLT = float>
ObjType& vcg::GridStaticObj< ObjType, FLT >::Grid ( const Point3< FLT > &  p  )  [inline]

Definition at line 83 of file grid_static_obj.h.

template<class ObjType , class FLT = float>
ObjType& vcg::GridStaticObj< ObjType, FLT >::Grid ( const int  x,
const int  y,
const int  z 
) [inline]

Date le coordinate ritorna la cella.

Definition at line 80 of file grid_static_obj.h.

template<class ObjType , class FLT = float>
int vcg::GridStaticObj< ObjType, FLT >::GridIndF ( const Point3< FLT > &  p  )  const [inline]

Definition at line 97 of file grid_static_obj.h.

template<class ObjType , class FLT = float>
int vcg::GridStaticObj< ObjType, FLT >::GridIndI ( const Point3i pi  )  const [inline]

Definition at line 85 of file grid_static_obj.h.

template<class ObjType , class FLT = float>
void vcg::GridStaticObj< ObjType, FLT >::Init ( const ObjType &  val  )  [inline]

Definition at line 73 of file grid_static_obj.h.

template<class ObjType , class FLT = float>
int vcg::GridStaticObj< ObjType, FLT >::size (  )  const [inline]

Definition at line 69 of file grid_static_obj.h.


Member Data Documentation

template<class ObjType , class FLT = float>
ObjType* vcg::GridStaticObj< ObjType, FLT >::grid

La matriciona della griglia.

Definition at line 67 of file grid_static_obj.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:01 2013