Main Page
Namespaces
Classes
Files
Alphabetical List
Class List
Class Hierarchy
Class Members
Grid3 Class Reference
#include <
Grid.hpp
>
Collaboration diagram for Grid3:
[
legend
]
List of all members.
Public Member Functions
Grid3
(int
n
, const
Vector3
&min, const
Vector3
&max)
void
rasterizeTriangle
(const
Vector3
&v0, const
Vector3
&v1, const
Vector3
&v2, int id)
bool
insideBounds
(const
Vector3
&p)
Vector3
getCellSize
() const
Vector3
getCoords
(const
Vector3i
&ci)
Vector3i
getGridCoords
(const
Vector3
&pos)
Cell
&
getCell
(const
Vector3
&pos)
Cell
&
getCell
(const
Vector3i
&ci)
Public Attributes
Cell
*
cells
Vector3
gmin
Vector3
gmax
Vector3
cellSize
int
n
Classes
class
Cell
Constructor & Destructor Documentation
Grid3::Grid3
(
int
n
,
const
Vector3
&
min
,
const
Vector3
&
max
)
Member Function Documentation
void Grid3::rasterizeTriangle
(
const
Vector3
&
v0
,
const
Vector3
&
v1
,
const
Vector3
&
v2
,
int
id
)
bool Grid3::insideBounds
(
const
Vector3
&
p
)
[inline]
Vector3
Grid3::getCellSize
(
)
const
[inline]
Vector3
Grid3::getCoords
(
const
Vector3i
&
ci
)
[inline]
Vector3i
Grid3::getGridCoords
(
const
Vector3
&
pos
)
[inline]
Cell
& Grid3::getCell
(
const
Vector3
&
pos
)
[inline]
Cell
& Grid3::getCell
(
const
Vector3i
&
ci
)
[inline]
Member Data Documentation
Cell
*
Grid3::cells
Vector3
Grid3::gmin
Vector3
Grid3::gmax
Vector3
Grid3::cellSize
int
Grid3::n
The documentation for this class was generated from the following files:
Grid.hpp
Grid.cpp
Generated on Mon Mar 12 21:09:18 2007 for VEE - The Visual Effects Engine by
1.4.6