ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkPointsLocator.h>
Accelerate geometric searches for points.
This class accelerates the search for the closest point to a user-provided point, by using constructing a Kd-Tree structure for the PointSetContainer.
Definition at line 45 of file itkPointsLocator.h.
typedef SmartPointer<const Self> itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::ConstPointer |
Reimplemented from itk::Object.
Definition at line 52 of file itkPointsLocator.h.
typedef TCoordRep itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::CoordRepType |
Definition at line 62 of file itkPointsLocator.h.
typedef TreeType::InstanceIdentifierVectorType itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::NeighborsIdentifierType |
Definition at line 86 of file itkPointsLocator.h.
typedef SmartPointer<Self> itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Pointer |
Reimplemented from itk::Object.
Definition at line 51 of file itkPointsLocator.h.
typedef TPointIdentifier itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointIdentifier |
Hold on to the type information specified by the template parameters.
Definition at line 58 of file itkPointsLocator.h.
typedef TPointsContainer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainer |
Definition at line 63 of file itkPointsLocator.h.
typedef PointsContainer::ConstIterator itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainerConstIterator |
Convenient typedefs.
Definition at line 73 of file itkPointsLocator.h.
typedef PointsContainer::ConstPointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainerConstPointer |
Definition at line 65 of file itkPointsLocator.h.
typedef PointsContainer::Iterator itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainerIterator |
Definition at line 74 of file itkPointsLocator.h.
typedef PointsContainer::Pointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainerPointer |
Definition at line 64 of file itkPointsLocator.h.
typedef Point<CoordRepType, VPointDimension> itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointType |
Definition at line 67 of file itkPointsLocator.h.
typedef SampleAdaptorType::Pointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::SampleAdaptorPointer |
Definition at line 79 of file itkPointsLocator.h.
typedef Statistics::VectorContainerToListSampleAdaptor<PointsContainer> itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::SampleAdaptorType |
Type of the PointsContainer to List Adaptor.
Definition at line 78 of file itkPointsLocator.h.
typedef PointsLocator itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Self |
Standard class typedefs.
Reimplemented from itk::Object.
Definition at line 49 of file itkPointsLocator.h.
typedef Object itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Superclass |
Reimplemented from itk::Object.
Definition at line 50 of file itkPointsLocator.h.
typedef TreeType::ConstPointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::TreeConstPointer |
Definition at line 85 of file itkPointsLocator.h.
typedef TreeGeneratorType::Pointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::TreeGeneratorPointer |
Definition at line 83 of file itkPointsLocator.h.
typedef Statistics::KdTreeGenerator<SampleAdaptorType> itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::TreeGeneratorType |
Types fo the KdTreeGenerator
Definition at line 82 of file itkPointsLocator.h.
typedef TreeGeneratorType::KdTreeType itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::TreeType |
Definition at line 84 of file itkPointsLocator.h.
itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsLocator | ( | ) | [protected] |
itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::~PointsLocator | ( | ) | [protected] |
itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsLocator | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
void itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::FindClosestNPoints | ( | const PointType & | , |
unsigned | int, | ||
NeighborsIdentifierType & | |||
) | const |
Find the closest N points. Returns the point ids.
PointIdentifier itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::FindClosestPoint | ( | const PointType & | query | ) | const |
Find the closest point
void itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::FindPointsWithinRadius | ( | const PointType & | , |
double | , | ||
NeighborsIdentifierType & | |||
) | const |
Find all the points within a specified radius. Returns the point ids.
virtual const char* itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetNameOfClass | ( | ) | const [virtual] |
Standard part of every itk Object.
Reimplemented from itk::Object.
virtual const PointsContainer* itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetPoints | ( | ) | [virtual] |
Set/Get the points from which the bounding box should be computed.
void itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Initialize | ( | ) |
Compute the kd-tree that will facilitate the querying the points.
static Pointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::Object.
virtual void itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
void itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Search | ( | const PointType & | , |
unsigned | int, | ||
NeighborsIdentifierType & | |||
) | const |
Find the k-nearest neighbors. Returns the point ids.
void itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Search | ( | const PointType & | , |
double | , | ||
NeighborsIdentifierType & | |||
) | const |
Find all the points within a specified radius. Returns the point ids.
virtual void itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::SetPoints | ( | PointsContainer * | _arg | ) | [virtual] |
Set/Get the points from which the bounding box should be computed.
TreeGeneratorPointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::m_KdTreeGenerator [private] |
Definition at line 126 of file itkPointsLocator.h.
PointsContainerPointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::m_Points [private] |
Definition at line 124 of file itkPointsLocator.h.
SampleAdaptorPointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::m_SampleAdaptor [private] |
Definition at line 125 of file itkPointsLocator.h.
TreeConstPointer itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::m_Tree [private] |
Definition at line 127 of file itkPointsLocator.h.
const unsigned int itk::PointsLocator< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointDimension = VPointDimension [static] |
Hold on to the dimensions specified by the template parameters.
Definition at line 70 of file itkPointsLocator.h.