Skip to content

shapeworks::ParticleImageDomainWithCurvature

More...

#include <ParticleImageDomainWithCurvature.h>

Inherits from shapeworks::ParticleImageDomainWithGradN< T >, shapeworks::ParticleImageDomainWithGradients< T >, shapeworks::ParticleImageDomain< T >, shapeworks::ParticleRegionDomain, shapeworks::ParticleDomain

Inherited by shapeworks::ParticleImplicitSurfaceDomain< T >

Public Types

Name
typedef ParticleImageDomainWithGradN< T > Superclass
typedef Superclass::PointType PointType
typedef Superclass::ImageType ImageType
typedef Superclass::VnlMatrixType VnlMatrixType

Public Functions

Name
void SetImage(ImageType * I, double narrow_band)
virtual double GetCurvature(const PointType & p, int idx) const override
virtual double GetSurfaceMeanCurvature() const override
virtual double GetSurfaceStdDevCurvature() const override

Protected Functions

Name
ParticleImageDomainWithCurvature()
void PrintSelf(std::ostream & os, itk::Indent indent) const
virtual ~ParticleImageDomainWithCurvature()

Additional inherited members

Public Types inherited from shapeworks::ParticleImageDomainWithGradN< T >

Name
using std::shared_ptr< ParticleImageDomainWithGradN > Pointer
typedef Superclass::GradNType GradNType

Public Functions inherited from shapeworks::ParticleImageDomainWithGradN< T >

Name
virtual GradNType SampleGradNAtPoint(const PointType & p, int idx) const override
virtual void DeletePartialDerivativeImages() override
virtual void DeleteImages() override

Protected Functions inherited from shapeworks::ParticleImageDomainWithGradN< T >

Name
ParticleImageDomainWithGradN()
virtual ~ParticleImageDomainWithGradN()

Public Types inherited from shapeworks::ParticleImageDomainWithGradients< T >

Name
using std::shared_ptr< ParticleImageDomainWithGradients< T > > Pointer
typedef itk::FixedArray< T, DIMENSION > VectorType
typedef vnl_vector_fixed< T, DIMENSION > VnlVectorType

Public Functions inherited from shapeworks::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
vnl_vector_fixed< double, DIMENSION > ProjectVectorToSurfaceTangent(vnl_vector_fixed< double, DIMENSION > & gradE, const PointType & pos, int idx) const override
virtual void DeleteImages() override

Protected Functions inherited from shapeworks::ParticleImageDomainWithGradients< T >

Name
ParticleImageDomainWithGradients()
virtual ~ParticleImageDomainWithGradients()
openvdb::VectorGrid::Ptr GetVDBGradient()

Public Types inherited from shapeworks::ParticleImageDomain< T >

Name
using std::shared_ptr< ParticleImageDomain > Pointer

Public Functions inherited from shapeworks::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 DeleteImages() override
virtual void UpdateZeroCrossingPoint() override

Protected Functions inherited from shapeworks::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 Types inherited from shapeworks::ParticleRegionDomain

Name
using std::shared_ptr< ParticleRegionDomain > Pointer

Public Functions inherited from shapeworks::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 shapeworks::ParticleRegionDomain

Name
ParticleRegionDomain()
virtual ~ParticleRegionDomain()
bool IsInsideBuffer(const PointType & p) const

Public Types inherited from shapeworks::ParticleDomain

Name
typedef std::shared_ptr< ParticleDomain > Pointer
using vnl_matrix_fixed< float, 3, 3 > GradNType
using vnl_vector_fixed< double, 3 > VectorDoubleType
using vnl_vector_fixed< float, 3 > VectorFloatType

Public Functions inherited from shapeworks::ParticleDomain

Name
virtual bool ApplyConstraints(PointType & p, int idx, bool dbg =false) const =0
virtual PointType UpdateParticlePosition(const PointType & point, int idx, VectorDoubleType & update) const =0
virtual void InvalidateParticlePosition(int idx) const
virtual VectorDoubleType ProjectVectorToSurfaceTangent(VectorDoubleType & gradE, const PointType & pos, int idx) const =0
virtual VectorFloatType SampleGradientAtPoint(const PointType & point, int idx) const =0
virtual VectorFloatType SampleNormalAtPoint(const PointType & point, int idx) const =0
virtual GradNType SampleGradNAtPoint(const PointType & p, int idx) const =0
virtual double Distance(const PointType & a, int idx_a, const PointType & b, int idx_b, VectorDoubleType * 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 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 DeleteImages() =0
virtual void DeletePartialDerivativeImages() =0
virtual void UpdateZeroCrossingPoint() =0
bool IsDomainFixed() const
virtual shapeworks::DomainType GetDomainType() const =0
std::shared_ptr< shapeworks::Constraints > GetConstraints() const
virtual PointType GetPositionAfterSplit(const PointType & pt, const VectorDoubleType & local_direction, const VectorDoubleType & global_direction, double epsilon) const
void SetDomainID(int id)
void SetDomainName(std::string name)

Protected Functions inherited from shapeworks::ParticleDomain

Name
ParticleDomain()
virtual ~ParticleDomain()

Protected Attributes inherited from shapeworks::ParticleDomain

Name
bool m_FixedDomain
int m_DomainID
std::string m_DomainName
std::shared_ptr< shapeworks::Constraints > constraints

Detailed Description

template <class T >
class shapeworks::ParticleImageDomainWithCurvature;

See:

An image domain that extends ParticleImageDomainWithGradN with curvature information.

Public Types Documentation

typedef Superclass

typedef ParticleImageDomainWithGradN<T> shapeworks::ParticleImageDomainWithCurvature< T >::Superclass;

Standard class typedefs

typedef PointType

typedef Superclass::PointType shapeworks::ParticleImageDomainWithCurvature< T >::PointType;

typedef ImageType

typedef Superclass::ImageType shapeworks::ParticleImageDomainWithCurvature< T >::ImageType;

typedef VnlMatrixType

typedef Superclass::VnlMatrixType shapeworks::ParticleImageDomainWithCurvature< 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 GetCurvature

inline virtual double GetCurvature(
    const PointType & p,
    int idx
) const override

Reimplements: shapeworks::ParticleDomain::GetCurvature

Used in ParticleMeanCurvatureAttribute

function GetSurfaceMeanCurvature

inline virtual double GetSurfaceMeanCurvature() const override

Reimplements: shapeworks::ParticleDomain::GetSurfaceMeanCurvature

Used in ParticleMeanCurvatureAttribute

function GetSurfaceStdDevCurvature

inline virtual double GetSurfaceStdDevCurvature() const override

Reimplements: shapeworks::ParticleDomain::GetSurfaceStdDevCurvature

Used in ParticleMeanCurvatureAttribute

Protected Functions Documentation

function ParticleImageDomainWithCurvature

inline ParticleImageDomainWithCurvature()

function PrintSelf

inline void PrintSelf(
    std::ostream & os,
    itk::Indent indent
) const

function ~ParticleImageDomainWithCurvature

inline virtual ~ParticleImageDomainWithCurvature()

Updated on 2022-07-23 at 16:40:06 -0600