ITK
6.0.0
Insight Toolkit
|
#include <itkTriangleMeshCurvatureCalculator.h>
Calculator to compute curvature of a triangle mesh. Set the input triangle mesh and the required curvature type first. Default curvature type is Gauss. After computing curvature the result can be obtained using the getter method. It throws exception if the input mesh is not set. The implementation is the same as in VTK.
Definition at line 68 of file itkTriangleMeshCurvatureCalculator.h.
Public Types | |
using | CellsContainerConstIterator = typename InputMeshType::CellsContainer::ConstIterator |
using | CellsContainerConstPointer = typename InputMeshType::CellsContainerConstPointer |
using | CellType = typename InputMeshType::CellType |
using | ConstPointer = SmartPointer< const Self > |
using | CurvaturesEnum = TriangleMeshCurvatureCalculatorEnums::Curvatures |
using | DoubleVectorContainer = typename itk::VectorContainer< PointIdentifier, double > |
using | DoubleVectorContainerPointer = typename DoubleVectorContainer::Pointer |
using | InputMeshType = TInputMesh |
using | MeshConstPointer = typename InputMeshType::ConstPointer |
using | MeshPointIdConstIterator = typename InputMeshType::CellTraits::PointIdConstIterator |
using | MeshPointsContainerConstPointer = typename InputMeshType::PointsContainerConstPointer |
using | MeshPointType = typename InputMeshType::PointType |
using | Pointer = SmartPointer< Self > |
using | PointIdentifier = typename InputMeshType::PointIdentifier |
using | Self = TriangleMeshCurvatureCalculator |
using | Superclass = Object |
using | TriangleCellType = itk::TriangleCell< CellType > |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
void | Compute () |
virtual const DoubleVectorContainer * | GetGaussCurvatureData () const |
const char * | GetNameOfClass () const override |
void | SetCurvatureTypeToGaussian () |
virtual void | SetTriangleMesh (InputMeshType *_arg) |
virtual void | SetCurvatureType (TriangleMeshCurvatureCalculatorEnums::Curvatures _arg) |
virtual TriangleMeshCurvatureCalculatorEnums::Curvatures | GetCurvatureType () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
void | ComputeGaussCurvature (const InputMeshType *input) |
void | PrintSelf (std::ostream &os, Indent indent) const override |
TriangleMeshCurvatureCalculator ()=default | |
~TriangleMeshCurvatureCalculator () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
CurvaturesEnum | m_CurvatureType = CurvaturesEnum::GaussCurvature |
DoubleVectorContainerPointer | m_GaussCurvatureData {} |
MeshConstPointer | m_TriangleMesh {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::CellsContainerConstIterator = typename InputMeshType::CellsContainer::ConstIterator |
Definition at line 97 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::CellsContainerConstPointer = typename InputMeshType::CellsContainerConstPointer |
Definition at line 96 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::CellType = typename InputMeshType::CellType |
Definition at line 98 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::ConstPointer = SmartPointer<const Self> |
Definition at line 81 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::CurvaturesEnum = TriangleMeshCurvatureCalculatorEnums::Curvatures |
Definition at line 102 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::DoubleVectorContainer = typename itk::VectorContainer<PointIdentifier, double> |
Definition at line 100 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::DoubleVectorContainerPointer = typename DoubleVectorContainer::Pointer |
Definition at line 101 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::InputMeshType = TInputMesh |
Convenient type alias for this Calculator.
Definition at line 90 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::MeshConstPointer = typename InputMeshType::ConstPointer |
Definition at line 92 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::MeshPointIdConstIterator = typename InputMeshType::CellTraits::PointIdConstIterator |
Definition at line 94 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::MeshPointsContainerConstPointer = typename InputMeshType::PointsContainerConstPointer |
Definition at line 95 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::MeshPointType = typename InputMeshType::PointType |
Definition at line 93 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::Pointer = SmartPointer<Self> |
Smart pointer type alias support.
Definition at line 80 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::PointIdentifier = typename InputMeshType::PointIdentifier |
Definition at line 91 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::Self = TriangleMeshCurvatureCalculator |
Standard class type aliases.
Definition at line 74 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::Superclass = Object |
Standard "Superclass" type alias.
Definition at line 77 of file itkTriangleMeshCurvatureCalculator.h.
using itk::TriangleMeshCurvatureCalculator< TInputMesh >::TriangleCellType = itk::TriangleCell<CellType> |
Definition at line 99 of file itkTriangleMeshCurvatureCalculator.h.
|
protecteddefault |
|
overrideprotecteddefault |
void itk::TriangleMeshCurvatureCalculator< TInputMesh >::Compute | ( | ) |
Compute the selected curvature type.
|
protected |
Discrete Gauss curvature (K) computation
|
virtual |
Methods specify mode of operation for the calculator.
|
virtual |
Get Gauss curvature.
|
overridevirtual |
Reimplemented from itk::Object.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
|
virtual |
Methods specify mode of operation for the calculator.
|
inline |
Set the curvature type to Gauss.
Definition at line 117 of file itkTriangleMeshCurvatureCalculator.h.
References itk::TriangleMeshCurvatureCalculatorEnums::GaussCurvature.
|
virtual |
Set the input mesh.
|
private |
Definition at line 138 of file itkTriangleMeshCurvatureCalculator.h.
|
private |
Definition at line 139 of file itkTriangleMeshCurvatureCalculator.h.
|
private |
Definition at line 140 of file itkTriangleMeshCurvatureCalculator.h.