|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
-------------------------------------------------------
Name : NormVol.hh
Library :
Description: Normal Volume representation
Dependancies:
Modified :
Created : 1.97
Author : Adrian Hilton
-------------------------------------------------------
Variables:
- Vector3dC tri_vertex0;
-
- Vector3dC tri_vertex1;
-
- Vector3dC tri_vertex2;
-
triangle verticies
Vector3dC tri_vertex_normal0;
Vector3dC tri_vertex_normal1;
Vector3dC tri_vertex_normal2;
triangle verticies
NB: could have maintained copy of tri but less efficient for IsInside()
- Vector3dC plane_normal0;
-
- Vector3dC plane_normal1;
-
- Vector3dC plane_normal2;
-
plane normal defined by 1st normal of each edge
- Vector3dC second_plane_normal0;
-
- Vector3dC second_plane_normal1;
-
- Vector3dC second_plane_normal2;
-
plane normal defined by 2nd normal of each edge
Methods:
- NormalVolumeC()
-
- NormalVolumeC(const TriC & tri)
-
construct a normal volume for TriC
Normal volume is defined by normal at each vertex
- NormalVolumeC(const NormalVolumeC & vn)
-
- const NormalVolumeC operator=(const NormalVolumeC & vn)
-
------------------------------------------------------- operations
- BooleanT IsInside(const Vector3dC v) const
-
point 'v' is inside the normal volume
void IndexLimits(const RealT max_distance,
Index3dC& lower_limit,Index3dC& upper_limit);
Bounding box on normal volume given by max_distance
reqs access to BaseVoxSetC::Index()
|
Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|