itk::ParticleImageDomainWithGradN
#include <itkParticleImageDomainWithGradN.h>
Inherits from itk::ParticleImageDomainWithGradients< T >, itk::ParticleImageDomain< T >, itk::ParticleRegionDomain, itk::ParticleDomain, DataObject
Inherited by itk::ParticleImageDomainWithCurvature< T >
Public Types
| Name | |
|---|---|
| typedef ParticleImageDomainWithGradients< T > | Superclass | 
| typedef SmartPointer< ParticleImageDomainWithGradN > | Pointer | 
| typedef Superclass::PointType | PointType | 
| typedef Superclass::ImageType | ImageType | 
| typedef Superclass::GradNType | GradNType | 
| typedef Superclass::GradNType | VnlMatrixType | 
Public Functions
| Name | |
|---|---|
| void | SetImage(ImageType * I, double narrow_band) | 
| virtual GradNType | SampleGradNAtPoint(const PointType & p, int idx) const override | 
| virtual void | DeletePartialDerivativeImages() override | 
| virtual void | DeleteImages() override | 
Protected Functions
| Name | |
|---|---|
| ParticleImageDomainWithGradN() | |
| virtual | ~ParticleImageDomainWithGradN() | 
| void | PrintSelf(std::ostream & os, Indent indent) const | 
Additional inherited members
Public Types inherited from itk::ParticleImageDomainWithGradients< T >
| Name | |
|---|---|
| typedef FixedArray< T, DIMENSION > | VectorType | 
| typedef vnl_vector_fixed< T, DIMENSION > | VnlVectorType | 
Public Functions inherited from itk::ParticleImageDomainWithGradients< T >
| Name | |
|---|---|
| virtual vnl_vector_fixed< float, DIMENSION > | SampleGradientAtPoint(const PointType & p, int idx) const | 
| virtual vnl_vector_fixed< float, DIMENSION > | SampleNormalAtPoint(const PointType & p, int idx) const | 
| virtual vnl_vector_fixed< double, DIMENSION > | ProjectVectorToSurfaceTangent(vnl_vector_fixed< double, DIMENSION > & gradE, const PointType & pos, int idx) const override | 
Protected Functions inherited from itk::ParticleImageDomainWithGradients< T >
| Name | |
|---|---|
| ParticleImageDomainWithGradients() | |
| virtual | ~ParticleImageDomainWithGradients() | 
| openvdb::VectorGrid::Ptr | GetVDBGradient() | 
Public Functions inherited from itk::ParticleImageDomain< T >
| Name | |
|---|---|
| virtual double | GetSurfaceArea() const override | 
| PointType | GetOrigin() const | 
| ImageType::SizeType | GetSize() const | 
| ImageType::SpacingType | GetSpacing() const | 
| ImageType::RegionType::IndexType | GetIndex() const | 
| virtual PointType | GetValidLocationNear(PointType p) const override | 
| T | Sample(const PointType & p) const | 
| virtual double | GetMaxDiameter() const override | 
| virtual void | UpdateZeroCrossingPoint() override | 
Protected Functions inherited from itk::ParticleImageDomain< T >
| Name | |
|---|---|
| openvdb::FloatGrid::Ptr | GetVDBImage() const | 
| ParticleImageDomain() | |
| virtual | ~ParticleImageDomain() | 
| openvdb::math::Transform::Ptr | transform() const | 
| openvdb::Vec3R | ToVDBCoord(const PointType & p) const | 
Public Functions inherited from itk::ParticleRegionDomain
| Name | |
|---|---|
| virtual bool | ApplyConstraints(PointType & p) const | 
| virtual const PointType & | GetUpperBound() const | 
| virtual const PointType & | GetLowerBound() const | 
| void | SetUpperBound(const PointType _UpperBound) | 
| void | SetLowerBound(const PointType _LowerBound) | 
| void | SetRegion(const PointType & lowerBound, const PointType & upperBound) | 
Protected Functions inherited from itk::ParticleRegionDomain
| Name | |
|---|---|
| ParticleRegionDomain() | |
| virtual | ~ParticleRegionDomain() | 
| bool | IsInsideBuffer(const PointType & p) const | 
Public Functions inherited from itk::ParticleDomain
| Name | |
|---|---|
| virtual bool | ApplyConstraints(PointType & p, int idx, bool dbg =false) const =0 | 
| virtual PointType | UpdateParticlePosition(const PointType & point, int idx, vnl_vector_fixed< double, DIMENSION > & update) const =0 | 
| virtual void | InvalidateParticlePosition(int idx) const | 
| virtual vnl_vector_fixed< double, DIMENSION > | ProjectVectorToSurfaceTangent(vnl_vector_fixed< double, DIMENSION > & gradE, const PointType & pos, int idx) const =0 | 
| virtual vnl_vector_fixed< float, DIMENSION > | SampleGradientAtPoint(const PointType & point, int idx) const =0 | 
| virtual vnl_vector_fixed< float, DIMENSION > | SampleNormalAtPoint(const PointType & point, int idx) const =0 | 
| virtual double | Distance(const PointType & a, int idx_a, const PointType & b, int idx_b, vnl_vector_fixed< double, DIMENSION > * out_grad =nullptr) const | 
| virtual double | SquaredDistance(const PointType & a, int idx_a, const PointType & b, int idx_b) const | 
| virtual bool | IsWithinDistance(const PointType & a, int idx_a, const PointType & b, int idx_b, double test_dist, double & distance) const | 
| virtual double | GetCurvature(const PointType & p, int idx) const =0 | 
| virtual double | GetSurfaceMeanCurvature() const =0 | 
| virtual double | GetSurfaceStdDevCurvature() const =0 | 
| virtual const PointType & | GetLowerBound() const =0 | 
| virtual const PointType & | GetUpperBound() const =0 | 
| virtual PointType | GetZeroCrossingPoint() const =0 | 
| virtual double | GetSurfaceArea() const =0 | 
| virtual PointType | GetValidLocationNear(PointType p) const =0 | 
| virtual double | GetMaxDiameter() const =0 | 
| virtual void | UpdateZeroCrossingPoint() =0 | 
| bool | IsDomainFixed() const | 
| virtual shapeworks::DomainType | GetDomainType() const =0 | 
| std::shared_ptr< Constraints > | GetConstraints() const | 
| virtual PointType | GetPositionAfterSplit(const PointType & pt, const vnl_vector_fixed< double, 3 > & random, double epsilon) const | 
| void | SetDomainID(int id) | 
| void | SetDomainName(std::string name) | 
Protected Functions inherited from itk::ParticleDomain
| Name | |
|---|---|
| ParticleDomain() | |
| virtual | ~ParticleDomain() | 
Protected Attributes inherited from itk::ParticleDomain
| Name | |
|---|---|
| bool | m_FixedDomain | 
| int | m_DomainID | 
| std::string | m_DomainName | 
| std::shared_ptr< Constraints > | constraints | 
Detailed Description
template <class T >
class itk::ParticleImageDomainWithGradN;
See:
- ParticleImageDomain
 - ParticleClipRegionDomain
 - ParticleDomain
 
An image domain that extends ParticleImageDomainWithGradients with gradient of normals information.
Public Types Documentation
typedef Superclass
typedef ParticleImageDomainWithGradients<T> itk::ParticleImageDomainWithGradN< T >::Superclass;
Standard class typedefs
typedef Pointer
typedef SmartPointer<ParticleImageDomainWithGradN> itk::ParticleImageDomainWithGradN< T >::Pointer;
typedef PointType
typedef Superclass::PointType itk::ParticleImageDomainWithGradN< T >::PointType;
Point type of the domain (not necessarily of the image).
typedef ImageType
typedef Superclass::ImageType itk::ParticleImageDomainWithGradN< T >::ImageType;
typedef GradNType
typedef Superclass::GradNType itk::ParticleImageDomainWithGradN< T >::GradNType;
typedef VnlMatrixType
typedef Superclass::GradNType itk::ParticleImageDomainWithGradN< T >::VnlMatrixType;
Public Functions Documentation
function SetImage
inline void SetImage(
    ImageType * I,
    double narrow_band
)
Set/Get the itk::Image specifying the particle domain. The set method modifies the parent class LowerBound and UpperBound.
function SampleGradNAtPoint
inline virtual GradNType SampleGradNAtPoint(
    const PointType & p,
    int idx
) const override
Reimplements: itk::ParticleDomain::SampleGradNAtPoint
Sample the GradN at a point. This method performs no bounds checking. To check bounds, use IsInsideBuffer. SampleGradN returns a vnl matrix of size VDimension x VDimension.
function DeletePartialDerivativeImages
inline virtual void DeletePartialDerivativeImages() override
Reimplements: itk::ParticleDomain::DeletePartialDerivativeImages
function DeleteImages
inline virtual void DeleteImages() override
Reimplements: itk::ParticleImageDomainWithGradients::DeleteImages
Used when a domain is fixed.
Protected Functions Documentation
function ParticleImageDomainWithGradN
inline ParticleImageDomainWithGradN()
function ~ParticleImageDomainWithGradN
inline virtual ~ParticleImageDomainWithGradN()
function PrintSelf
inline void PrintSelf(
    std::ostream & os,
    Indent indent
) const
Updated on 2022-03-31 at 09:51:18 -0600