Shapeworks Studio
2.1
Shape analysis software suite
|
#include <itkPSMImageDomainWithGradients.h>
Public Types | |
typedef PSMImageDomainWithGradients | Self |
typedef PSMImageDomain< T, VDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Superclass::PointType | PointType |
typedef Superclass::ImageType | ImageType |
typedef Superclass::ScalarInterpolatorType | ScalarInterpolatorType |
typedef GradientImageFilter< ImageType > | GradientImageFilterType |
typedef GradientImageFilterType::OutputImageType | GradientImageType |
typedef VectorLinearInterpolateImageFunction< GradientImageType, typename PointType::CoordRepType > | GradientInterpolatorType |
typedef FixedArray< T, VDimension > | VectorType |
typedef vnl_vector_fixed< T, VDimension > | VnlVectorType |
Public Types inherited from itk::PSMImageDomain< T, VDimension > | |
typedef PSMImageDomain | Self |
typedef PSMRegionDomain< VDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Image< T, VDimension > | ImageType |
typedef Superclass::PointType | PointType |
typedef LinearInterpolateImageFunction< ImageType, typename PointType::CoordRepType > | ScalarInterpolatorType |
Public Types inherited from itk::PSMRegionDomain< VDimension > | |
typedef PSMRegionDomain | Self |
typedef PSMDomain< VDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Point< double, VDimension > | PointType |
Public Types inherited from itk::PSMDomain< VDimension > | |
typedef PSMDomain | Self |
typedef DataObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Point< double, VDimension > | PointType |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (PSMImageDomainWithGradients, PSMImageDomain) | |
itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
void | SetImage (ImageType *I) |
itkGetObjectMacro (GradientImage, GradientImageType) | |
VectorType | SampleGradient (const PointType &p) const |
VnlVectorType | SampleGradientVnl (const PointType &p) const |
VnlVectorType | SampleNormalVnl (const PointType &p, T epsilon=1.0e-5) const |
itkGetObjectMacro (GradientInterpolator, GradientInterpolatorType) | |
virtual bool | ApplyVectorConstraints (vnl_vector_fixed< double, VDimension > &gradE, const PointType &pos, double) const |
Public Member Functions inherited from itk::PSMImageDomain< T, VDimension > | |
itkNewMacro (Self) | |
itkTypeMacro (PSMImageDomain, PSMRegionDomain) | |
itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
void | SetImage (ImageType *I) |
itkGetObjectMacro (Image, ImageType) | |
itkGetConstObjectMacro (Image, ImageType) | |
T | Sample (const PointType &p) const |
bool | IsInsideBuffer (const PointType &p) const |
itkGetObjectMacro (ScalarInterpolator, ScalarInterpolatorType) | |
Public Member Functions inherited from itk::PSMRegionDomain< VDimension > | |
itkNewMacro (Self) | |
itkTypeMacro (PSMRegionDomain, PSMDomain) | |
itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
virtual bool | ApplyConstraints (PointType &p) const |
itkSetMacro (LowerBound, PointType) | |
itkSetMacro (UpperBound, PointType) | |
virtual const PointType & | GetUpperBound () const |
virtual const PointType & | GetLowerBound () const |
void | SetRegion (const PointType &l, const PointType &u) |
Public Member Functions inherited from itk::PSMDomain< VDimension > | |
itkNewMacro (Self) | |
itkTypeMacro (PSMDomain, DataObject) | |
itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
virtual double | Distance (const PointType &a, const PointType &b) const |
void | DisableConstraints () |
void | EnableConstraints () |
bool | GetConstraintsEnabled () const |
void | SetConstraintsEnabled (bool g) |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Member Functions inherited from itk::PSMImageDomain< T, VDimension > | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Member Functions inherited from itk::PSMRegionDomain< VDimension > | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Member Functions inherited from itk::PSMDomain< VDimension > | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Additional Inherited Members | |
Protected Attributes inherited from itk::PSMDomain< VDimension > | |
bool | m_ConstraintsEnabled |
An image domain that extends PSMImageDomainWithGradients with image gradient information. Gradient values are interpolated with the SampleGradients(point) method.
Definition at line 41 of file itkPSMImageDomainWithGradients.h.
typedef Superclass::PointType itk::PSMImageDomainWithGradients< T, VDimension >::PointType |
Point type of the domain (not necessarily of the image).
Definition at line 52 of file itkPSMImageDomainWithGradients.h.
typedef PSMImageDomainWithGradients itk::PSMImageDomainWithGradients< T, VDimension >::Self |
Standard class typedefs
Definition at line 45 of file itkPSMImageDomainWithGradients.h.
|
inlinevirtual |
This method is called by an optimizer after a call to Evaluate and may be used to apply any constraints the resulting vector, such as a projection to the surface tangent plane. Returns true if the gradient was modified.
Reimplemented in itk::PSMImplicitSurfaceDomain< T, VDimension >.
Definition at line 114 of file itkPSMImageDomainWithGradients.h.
itk::PSMImageDomainWithGradients< T, VDimension >::itkGetObjectMacro | ( | GradientInterpolator | , |
GradientInterpolatorType | |||
) |
Allow public access to the scalar interpolator.
itk::PSMImageDomainWithGradients< T, VDimension >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::PSMImageDomainWithGradients< T, VDimension >::itkStaticConstMacro | ( | Dimension | , |
unsigned | int, | ||
VDimension | |||
) |
Dimensionality of the domain of the particle system.
itk::PSMImageDomainWithGradients< T, VDimension >::itkTypeMacro | ( | PSMImageDomainWithGradients< T, VDimension > | , |
PSMImageDomain | |||
) |
Run-time type information (and related methods).
|
inline |
Sample the image at a point. This method performs no bounds checking. To check bounds, use IsInsideBuffer. SampleGradientsVnl returns a vnl vector of length VDimension instead of an itk::CovariantVector (itk::FixedArray).
Definition at line 95 of file itkPSMImageDomainWithGradients.h.
|
inline |
Set/Get the itk::Image specifying the particle domain. The set method modifies the parent class LowerBound and UpperBound.
Definition at line 75 of file itkPSMImageDomainWithGradients.h.