GRE::POINTSFIELD Class Reference

#include <gre/3dpntfld.h>

List of all members.

Public Member Functions

ERRVALUE AddPoint (const FPOINT3D &point)
void Clear ()
ERRVALUE Create (const DRECT2D &extents, const INT32 numBuckets=4096)
ERRVALUE FindInEllipse (const FPOINT2D &center, const float xradius, const float yradius, SIMPLE_ARRAY< FPOINT3D > &points) const
ERRVALUE FindInExtents (const DRECT2D &extents, SIMPLE_ARRAY< FPOINT3D > &points) const
ERRVALUE FindInTriangle (const FPOINT2D &point1, const FPOINT2D &point2, const FPOINT2D &point3, SIMPLE_ARRAY< FPOINT3D > &points) const
bool IsCreated () const
ERRVALUE MaskEllipse (const FPOINT2D &center, const float xradius, const float yradius)
ERRVALUE MaskExtents (const DRECT2D &extents)
ERRVALUE MaskTriangle (const FPOINT2D &point1, const FPOINT2D &point2, const FPOINT2D &point3)
 POINTSFIELD ()
void UseMask (const bool use)
 ~POINTSFIELD ()

Private Types

typedef SIMPLE_ARRAY< FPOINT3DBUCKET
typedef std::vector< BUCKETBUCKETS
typedef std::vector< BITSETMASK

Private Attributes

BUCKETS m_Buckets
DRECT2D m_Extents
bool m_IsCreated
MASK m_Mask
INT32 m_NumColumns
INT32 m_NumLines
double m_StepReciprocal
bool m_UseMask


Member Typedef Documentation

typedef SIMPLE_ARRAY<FPOINT3D> GRE::POINTSFIELD::BUCKET [private]
 

Definition at line 187 of file 3dpntfld.h.

typedef std::vector<BUCKET> GRE::POINTSFIELD::BUCKETS [private]
 

Definition at line 188 of file 3dpntfld.h.

typedef std::vector<BITSET> GRE::POINTSFIELD::MASK [private]
 

Definition at line 189 of file 3dpntfld.h.


Constructor & Destructor Documentation

GRE::POINTSFIELD::POINTSFIELD  )  [inline]
 

Default constructor.

Definition at line 50 of file 3dpntfld.h.

GRE::POINTSFIELD::~POINTSFIELD  )  [inline]
 

Destructor.

Definition at line 60 of file 3dpntfld.h.


Member Function Documentation

ERRVALUE GRE::POINTSFIELD::AddPoint const FPOINT3D point  ) 
 

void GRE::POINTSFIELD::Clear  ) 
 

ERRVALUE GRE::POINTSFIELD::Create const DRECT2D extents,
const INT32  numBuckets = 4096
 

ERRVALUE GRE::POINTSFIELD::FindInEllipse const FPOINT2D center,
const float  xradius,
const float  yradius,
SIMPLE_ARRAY< FPOINT3D > &  points
const
 

ERRVALUE GRE::POINTSFIELD::FindInExtents const DRECT2D extents,
SIMPLE_ARRAY< FPOINT3D > &  points
const
 

ERRVALUE GRE::POINTSFIELD::FindInTriangle const FPOINT2D point1,
const FPOINT2D point2,
const FPOINT2D point3,
SIMPLE_ARRAY< FPOINT3D > &  points
const
 

bool GRE::POINTSFIELD::IsCreated  )  const [inline]
 

Definition at line 74 of file 3dpntfld.h.

ERRVALUE GRE::POINTSFIELD::MaskEllipse const FPOINT2D center,
const float  xradius,
const float  yradius
 

ERRVALUE GRE::POINTSFIELD::MaskExtents const DRECT2D extents  ) 
 

ERRVALUE GRE::POINTSFIELD::MaskTriangle const FPOINT2D point1,
const FPOINT2D point2,
const FPOINT2D point3
 

void GRE::POINTSFIELD::UseMask const bool  use  ) 
 


Member Data Documentation

BUCKETS GRE::POINTSFIELD::m_Buckets [private]
 

Definition at line 198 of file 3dpntfld.h.

DRECT2D GRE::POINTSFIELD::m_Extents [private]
 

Definition at line 193 of file 3dpntfld.h.

bool GRE::POINTSFIELD::m_IsCreated [private]
 

Definition at line 191 of file 3dpntfld.h.

MASK GRE::POINTSFIELD::m_Mask [private]
 

Definition at line 199 of file 3dpntfld.h.

INT32 GRE::POINTSFIELD::m_NumColumns [private]
 

Definition at line 195 of file 3dpntfld.h.

INT32 GRE::POINTSFIELD::m_NumLines [private]
 

Definition at line 196 of file 3dpntfld.h.

double GRE::POINTSFIELD::m_StepReciprocal [private]
 

Definition at line 194 of file 3dpntfld.h.

bool GRE::POINTSFIELD::m_UseMask [private]
 

Definition at line 192 of file 3dpntfld.h.


The documentation for this class was generated from the following file:
Generated on Wed May 31 15:29:35 2006 for TNTsdk by  doxygen 1.3.8-20040913