18#ifndef itkMeshSpatialObject_h
19#define itkMeshSpatialObject_h
37template <
typename TMesh = Mesh<
int>>
44 static constexpr unsigned int Dimension = TMesh::PointDimension;
52 using typename Superclass::TransformType;
54 using typename Superclass::BoundingBoxType;
92 using Superclass::IsInsideInObjectSpace;
98#if !defined(ITK_LEGACY_REMOVE)
100 itkLegacyMacro(
const char * GetPixelTypeName())
102 return m_PixelType.c_str();
112 itkSetMacro(IsInsidePrecisionInObjectSpace,
double);
113 itkGetConstMacro(IsInsidePrecisionInObjectSpace,
double);
132#if !defined(ITK_LEGACY_REMOVE)
133 std::string m_PixelType{};
135 double m_IsInsidePrecisionInObjectSpace{};
140#ifndef ITK_MANUAL_INSTANTIATION
141# include "itkMeshSpatialObject.hxx"
Base class for all data objects in ITK.
Control indentation during Print() invocation.
Implementation of an Mesh as spatial object.
void ComputeMyBoundingBox() override
typename MeshType::Pointer MeshPointer
typename PointContainerType::Pointer PointContainerPointer
LightObject::Pointer InternalClone() const override
void PrintSelf(std::ostream &os, Indent indent) const override
bool IsInsideInObjectSpace(const PointType &point) const override
void SetMesh(MeshType *mesh)
const MeshType * GetMesh() const
~MeshSpatialObject() override=default
ModifiedTimeType GetMTime() const override
Base class for most ITK classes.
A templated class holding a geometric point in n-Dimensional space.
Implementation of the composite pattern.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
SmartPointer< Self > Pointer
constexpr unsigned int Dimension
ImageBaseType::PointType PointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents
SizeValueType ModifiedTimeType