# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLPACS::CFaceGrid::CFaceGridBuild Class Reference

A temporary grid, used to create a static CFaceGrid object. More...

#include <face_grid.h>

List of all members.

Public Methods

void init (uint width, float elsize)
 Init an empty build object with width and size. More...

void insert (const NLMISC::CVector &bmin, const NLMISC::CVector &bmax, uint32 value)
 Insert a value in the grid. More...


Public Attributes

std::vector< std::vector<
uint32 > > 
Grid
 The grid. More...

uint Width
 The width, in number of rows and lines of the grid. More...

float Size
 The size of each element. More...


Detailed Description

A temporary grid, used to create a static CFaceGrid object.

Author:
Benjamin Legros , Nevrax France
Date:
2001

Definition at line 66 of file face_grid.h.


Member Function Documentation

void NLPACS::CFaceGrid::CFaceGridBuild::init uint    width,
float    elsize
[inline]
 

Init an empty build object with width and size.

Definition at line 187 of file face_grid.h.

References Grid, nlassert, Size, Width, and width.

void NLPACS::CFaceGrid::CFaceGridBuild::insert const NLMISC::CVector   bmin,
const NLMISC::CVector   bmax,
uint32    value
[inline]
 

Insert a value in the grid.

Definition at line 196 of file face_grid.h.

References Grid, Size, value, Width, x, NLMISC::CVector::x, y, and NLMISC::CVector::y.


Member Data Documentation

std::vector< std::vector<uint32> > NLPACS::CFaceGrid::CFaceGridBuild::Grid
 

The grid.

Definition at line 70 of file face_grid.h.

Referenced by init, and insert.

float NLPACS::CFaceGrid::CFaceGridBuild::Size
 

The size of each element.

Definition at line 76 of file face_grid.h.

Referenced by init, and insert.

uint NLPACS::CFaceGrid::CFaceGridBuild::Width
 

The width, in number of rows and lines of the grid.

Definition at line 73 of file face_grid.h.

Referenced by init, and insert.


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