SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
SearchGridT< INDEX > Class Template Reference

#include <SearchGridT.h>

Public Types

typedef SCIRun::index_type index_type
 Include the types defined in Types into this class. More...
 
typedef SCIRun::size_type size_type
 
typedef std::vector< INDEX >
::iterator 
iterator
 

Public Member Functions

 SearchGridT (size_type x, size_type y, size_type z, const Core::Geometry::Point &min, const Core::Geometry::Point &max)
 
void transform (const Core::Geometry::Transform &t)
 
const Core::Geometry::Transformget_transform () const
 
Core::Geometry::Transformset_transform (const Core::Geometry::Transform &trans)
 
size_type get_ni () const
 Get the size of the search grid. More...
 
size_type get_nj () const
 
size_type get_nk () const
 
bool locate (index_type &i, index_type &j, index_type &k, const Core::Geometry::Point &p) const
 
bool locate_clamp (index_type &i, index_type &j, index_type &k, const Core::Geometry::Point &p) const
 
void unsafe_locate (index_type &i, index_type &j, index_type &k, const Core::Geometry::Point &p) const
 
void insert (INDEX val, const Core::Geometry::BBox &bbox)
 
void remove (INDEX val, const Core::Geometry::BBox &bbox)
 
void insert (INDEX val, const Core::Geometry::Point &point)
 
void remove (INDEX val, const Core::Geometry::Point &point)
 
bool lookup (iterator &begin, iterator &end, const Core::Geometry::Point &p)
 
void lookup_ijk (iterator &begin, iterator &end, size_type i, size_type j, size_type k)
 
double min_distance_squared (const Core::Geometry::Point &p, size_type i, size_type j, size_type k) const
 

Member Typedef Documentation

Include the types defined in Types into this class.

typedef std::vector<INDEX>::iterator iterator

Constructor & Destructor Documentation

SearchGridT ( size_type  x,
size_type  y,
size_type  z,
const Core::Geometry::Point min,
const Core::Geometry::Point max 
)
inline

Member Function Documentation

size_type get_ni ( ) const
inline

Get the size of the search grid.

size_type get_nj ( ) const
inline
size_type get_nk ( ) const
inline
const Core::Geometry::Transform& get_transform ( ) const
inline
void insert ( INDEX  val,
const Core::Geometry::BBox bbox 
)
inline
void insert ( INDEX  val,
const Core::Geometry::Point point 
)
inline
bool locate ( index_type i,
index_type j,
index_type k,
const Core::Geometry::Point p 
) const
inline
bool locate_clamp ( index_type i,
index_type j,
index_type k,
const Core::Geometry::Point p 
) const
inline
bool lookup ( iterator begin,
iterator end,
const Core::Geometry::Point p 
)
inline
void lookup_ijk ( iterator begin,
iterator end,
size_type  i,
size_type  j,
size_type  k 
)
inline
double min_distance_squared ( const Core::Geometry::Point p,
size_type  i,
size_type  j,
size_type  k 
) const
inline
void remove ( INDEX  val,
const Core::Geometry::BBox bbox 
)
inline
void remove ( INDEX  val,
const Core::Geometry::Point point 
)
inline
Core::Geometry::Transform& set_transform ( const Core::Geometry::Transform trans)
inline
void transform ( const Core::Geometry::Transform t)
inline
void unsafe_locate ( index_type i,
index_type j,
index_type k,
const Core::Geometry::Point p 
) const
inline

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