![]() |
Shapeworks Studio
2.1
Shape analysis software suite
|
#include <itkPSMRegionNeighborhood.h>
Inheritance diagram for itk::PSMRegionNeighborhood< VDimension >:
Collaboration diagram for itk::PSMRegionNeighborhood< VDimension >:Classes | |
| struct | IteratorNodePair |
Public Types | |
| typedef PSMRegionNeighborhood | Self |
| typedef PSMNeighborhood< VDimension > | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef WeakPointer< const Self > | ConstWeakPointer |
| typedef Superclass::PointType | PointType |
| typedef Superclass::PointContainerType | PointContainerType |
| typedef Superclass::DomainType | DomainType |
| typedef Superclass::PointVectorType | PointVectorType |
| typedef PSMPointTree< VDimension > | PointTreeType |
Public Types inherited from itk::PSMNeighborhood< VDimension > | |
| typedef PSMNeighborhood | Self |
| typedef DataObject | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef WeakPointer< const Self > | ConstWeakPointer |
| typedef Point< double, VDimension > | PointType |
| typedef PSMDomain< VDimension > | DomainType |
| typedef PSMContainer< PointType > | PointContainerType |
| typedef std::vector< PSMPointIndexPair< VDimension > > | PointVectorType |
Public Member Functions | |
| itkNewMacro (Self) | |
| itkTypeMacro (PSMRegionNeighborhood, PSMNeighborhood) | |
| itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
| virtual PointVectorType | FindNeighborhoodPoints (const PointType &, double) const |
| virtual void | SetDomain (DomainType *p) |
| itkSetMacro (TreeLevels, unsigned int) | |
| itkGetMacro (TreeLevels, unsigned int) | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| void | AddPosition (const PointType &p, unsigned int idx, int threadId=0) |
| void | SetPosition (const PointType &p, unsigned int idx, int threadId=0) |
| void | RemovePosition (unsigned int idx, int threadId=0) |
Public Member Functions inherited from itk::PSMNeighborhood< VDimension > | |
| itkNewMacro (Self) | |
| itkTypeMacro (PSMNeighborhood, DataObject) | |
| itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
| itkSetObjectMacro (PointContainer, PointContainerType) | |
| itkGetConstObjectMacro (PointContainer, PointContainerType) | |
| virtual PointVectorType | FindNeighborhoodPointsWithWeights (const PointType &, std::vector< double > &, double) const |
| itkSetObjectMacro (Domain, DomainType) | |
| itkGetConstObjectMacro (Domain, DomainType) | |
Protected Types | |
| typedef PSMContainer< IteratorNodePair > | IteratorMapType |
Protected Attributes | |
| PointTreeType::Pointer | m_Tree |
| IteratorMapType::Pointer | m_IteratorMap |
| unsigned int | m_TreeLevels |
Additional Inherited Members | |
Protected Member Functions inherited from itk::PSMNeighborhood< VDimension > | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
PSMRegionNeighborhood is a general purpose neighborhood object that computes neighborhoods based on distance from a point. It requires a domain that provides bounds information and a distance metric. This class uses a PSMPointTree to cache point and index values so that FindNeighborhoodPoints is somewhat optimized.
Definition at line 35 of file itkPSMRegionNeighborhood.h.
| typedef PSMPointTree<VDimension> itk::PSMRegionNeighborhood< VDimension >::PointTreeType |
PSMTree type used to sort points according to location.
Definition at line 61 of file itkPSMRegionNeighborhood.h.
| typedef Superclass::PointType itk::PSMRegionNeighborhood< VDimension >::PointType |
Inherited typedefs from parent class.
Definition at line 55 of file itkPSMRegionNeighborhood.h.
| typedef PSMRegionNeighborhood itk::PSMRegionNeighborhood< VDimension >::Self |
Standard class typedefs
Definition at line 39 of file itkPSMRegionNeighborhood.h.
|
virtual |
For efficiency, itkNeighborhoods are not necessarily observers of itkPSMParticleSystem, but have specific methods invoked for various events. AddPosition is called by itkPSMParticleSystem when a particle location is added. SetPosition is called when a particle location is set. RemovePosition is called when a particle location is removed.
Reimplemented from itk::PSMNeighborhood< VDimension >.
Definition at line 76 of file itkPSMRegionNeighborhood.hxx.
|
virtual |
Compile a list of points that are within a specified radius of a given point. This implementation uses a PSMTree to sort points according to location.
Reimplemented from itk::PSMNeighborhood< VDimension >.
Definition at line 34 of file itkPSMRegionNeighborhood.hxx.
| itk::PSMRegionNeighborhood< VDimension >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
| itk::PSMRegionNeighborhood< VDimension >::itkSetMacro | ( | TreeLevels | , |
| unsigned | int | ||
| ) |
Set/Get the number of levels in the sorting tree.
| itk::PSMRegionNeighborhood< VDimension >::itkStaticConstMacro | ( | Dimension | , |
| unsigned | int, | ||
| VDimension | |||
| ) |
Dimensionality of the domain of the particle system.
| itk::PSMRegionNeighborhood< VDimension >::itkTypeMacro | ( | PSMRegionNeighborhood< VDimension > | , |
| PSMNeighborhood | |||
| ) |
Run-time type information (and related methods).
|
virtual |
Override SetDomain so that we can grab the region extent info and construct our tree.
Definition at line 25 of file itkPSMRegionNeighborhood.hxx.
1.8.11