itk::ParticleSurfaceNeighborhood
#include <itkParticleSurfaceNeighborhood.h>
Inherits from itk::ParticleRegionNeighborhood< TImage::ImageDimension >, itk::ParticleNeighborhood< 3 >, DataObject
Public Types
Name | |
---|---|
typedef TImage | ImageType |
typedef ParticleSurfaceNeighborhood | Self |
typedef ParticleRegionNeighborhood< TImage::ImageDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef ImageType::PixelType | NumericType |
typedef Superclass::PointTreeType | PointTreeType |
typedef vnl_vector_fixed< NumericType, TImage::ImageDimension > | GradientVectorType |
typedef Superclass::PointType | PointType |
typedef Superclass::PointContainerType | PointContainerType |
typedef shapeworks::ParticleImplicitSurfaceDomain< typename TImage::PixelType > | DomainType |
typedef Superclass::PointVectorType | PointVectorType |
Public Functions
Name | |
---|---|
itkStaticConstMacro(Dimension , unsigned int , TImage::ImageDimension ) | |
itkNewMacro(Self ) | |
itkTypeMacro(ParticleSurfaceNeighborhood , ParticleRegionNeighborhood ) | |
virtual PointVectorType | FindNeighborhoodPoints(const PointType & , int idx, std::vector< double > & , std::vector< double > & , double ) const override |
virtual PointVectorType | FindNeighborhoodPoints(const PointType & , int idx, std::vector< double > & , double ) const override |
void | SetWeightingEnabled(bool is_enabled) |
bool | IsWeightingEnabled() const |
void | SetForceEuclidean(bool is_enabled) |
bool | IsForceEuclidean() const |
void | PrintSelf(std::ostream & os, Indent indent) const |
Protected Functions
Name | |
---|---|
ParticleSurfaceNeighborhood() | |
virtual | ~ParticleSurfaceNeighborhood() |
Additional inherited members
Protected Classes inherited from itk::ParticleRegionNeighborhood< TImage::ImageDimension >
Name | |
---|---|
struct | IteratorNodePair |
Protected Types inherited from itk::ParticleRegionNeighborhood< TImage::ImageDimension >
Name | |
---|---|
typedef ParticleContainer< IteratorNodePair > | IteratorMapType |
Public Functions inherited from itk::ParticleRegionNeighborhood< TImage::ImageDimension >
Name | |
---|---|
virtual void | SetDomain(DomainType::Pointer p) override |
itkSetMacro(TreeLevels , unsigned int ) | |
itkGetMacro(TreeLevels , unsigned int ) | |
virtual void | AddPosition(const PointType & p, unsigned int idx, int threadId =0) |
virtual void | SetPosition(const PointType & p, unsigned int idx, int threadId =0) |
virtual void | RemovePosition(unsigned int idx, int threadId =0) |
Protected Functions inherited from itk::ParticleRegionNeighborhood< TImage::ImageDimension >
Name | |
---|---|
ParticleRegionNeighborhood() | |
virtual | ~ParticleRegionNeighborhood() |
Protected Attributes inherited from itk::ParticleRegionNeighborhood< TImage::ImageDimension >
Name | |
---|---|
PointTreeType::Pointer | m_Tree |
IteratorMapType::Pointer | m_IteratorMap |
unsigned int | m_TreeLevels |
Public Functions inherited from itk::ParticleNeighborhood< 3 >
Name | |
---|---|
itkSetObjectMacro(PointContainer , PointContainerType ) | |
itkGetConstObjectMacro(PointContainer , PointContainerType ) | |
virtual void | SetDomain(DomainType::Pointer domain) |
DomainType::Pointer | GetDomain() const |
virtual void | AddPosition(const PointType & p, unsigned int idx, int threadId =0) |
virtual void | SetPosition(const PointType & p, unsigned int idx, int threadId =0) |
virtual void | RemovePosition(unsigned int idx, int threadId =0) |
Protected Functions inherited from itk::ParticleNeighborhood< 3 >
Name | |
---|---|
ParticleNeighborhood() | |
virtual | ~ParticleNeighborhood() |
Detailed Description
template <class TImage >
class itk::ParticleSurfaceNeighborhood;
ParticleSurfaceNeighborhood 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 PowerOfTwoPointTree to cache point and index values so that FindNeighborhoodPoints is somewhat optimized.
Public Types Documentation
typedef ImageType
typedef TImage itk::ParticleSurfaceNeighborhood< TImage >::ImageType;
Standard class typedefs
typedef Self
typedef ParticleSurfaceNeighborhood itk::ParticleSurfaceNeighborhood< TImage >::Self;
typedef Superclass
typedef ParticleRegionNeighborhood<TImage::ImageDimension> itk::ParticleSurfaceNeighborhood< TImage >::Superclass;
typedef Pointer
typedef SmartPointer<Self> itk::ParticleSurfaceNeighborhood< TImage >::Pointer;
typedef ConstPointer
typedef SmartPointer<const Self> itk::ParticleSurfaceNeighborhood< TImage >::ConstPointer;
typedef ConstWeakPointer
typedef WeakPointer<const Self> itk::ParticleSurfaceNeighborhood< TImage >::ConstWeakPointer;
typedef NumericType
typedef ImageType::PixelType itk::ParticleSurfaceNeighborhood< TImage >::NumericType;
typedef PointTreeType
typedef Superclass::PointTreeType itk::ParticleSurfaceNeighborhood< TImage >::PointTreeType;
typedef GradientVectorType
typedef vnl_vector_fixed<NumericType, TImage::ImageDimension> itk::ParticleSurfaceNeighborhood< TImage >::GradientVectorType;
typedef PointType
typedef Superclass::PointType itk::ParticleSurfaceNeighborhood< TImage >::PointType;
Inherited typedefs from parent class.
typedef PointContainerType
typedef Superclass::PointContainerType itk::ParticleSurfaceNeighborhood< TImage >::PointContainerType;
typedef DomainType
typedef shapeworks::ParticleImplicitSurfaceDomain<typename TImage::PixelType> itk::ParticleSurfaceNeighborhood< TImage >::DomainType;
typedef PointVectorType
typedef Superclass::PointVectorType itk::ParticleSurfaceNeighborhood< TImage >::PointVectorType;
Public Functions Documentation
function itkStaticConstMacro
itkStaticConstMacro(
Dimension ,
unsigned int ,
TImage::ImageDimension
)
Expose the image dimension.
function itkNewMacro
itkNewMacro(
Self
)
Method for creation through the object factory.
function itkTypeMacro
itkTypeMacro(
ParticleSurfaceNeighborhood ,
ParticleRegionNeighborhood
)
Run-time type information (and related methods).
function FindNeighborhoodPoints
virtual PointVectorType FindNeighborhoodPoints(
const PointType & ,
int idx,
std::vector< double > & ,
std::vector< double > & ,
double
) const override
Reimplements: itk::ParticleNeighborhood::FindNeighborhoodPoints
Compile a list of points that are within a specified radius of a given point. This implementation uses a PowerOfTwoTree to sort points according to location.
function FindNeighborhoodPoints
virtual PointVectorType FindNeighborhoodPoints(
const PointType & ,
int idx,
std::vector< double > & ,
double
) const override
Reimplements: itk::ParticleNeighborhood::FindNeighborhoodPoints
This method finds neighborhood points as in the previous method, but also computes a vector of weights associated with each of those points.
function SetWeightingEnabled
inline void SetWeightingEnabled(
bool is_enabled
)
function IsWeightingEnabled
inline bool IsWeightingEnabled() const
function SetForceEuclidean
inline void SetForceEuclidean(
bool is_enabled
)
function IsForceEuclidean
inline bool IsForceEuclidean() const
function PrintSelf
inline void PrintSelf(
std::ostream & os,
Indent indent
) const
Protected Functions Documentation
function ParticleSurfaceNeighborhood
inline ParticleSurfaceNeighborhood()
function ~ParticleSurfaceNeighborhood
inline virtual ~ParticleSurfaceNeighborhood()
Updated on 2022-07-23 at 16:40:06 -0600