18#ifndef itkMeshSpatialObject_h
19#define itkMeshSpatialObject_h
37template <
typename TMesh = Mesh<
int>>
44 static constexpr unsigned int Dimension = TMesh::PointDimension;
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{};
140#ifndef ITK_MANUAL_INSTANTIATION
141# include "itkMeshSpatialObject.hxx"
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
void ComputeMyBoundingBox() override
typename MeshType::Pointer MeshPointer
SpatialObject< Self::Dimension > Superclass
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
SmartPointer< const Self > ConstPointer
void SetMesh(MeshType *mesh)
double m_IsInsidePrecisionInObjectSpace
static constexpr unsigned int Dimension
const MeshType * GetMesh() const
~MeshSpatialObject() override=default
Point< ScalarType, VDimension > PointType
MeshSpatialObject< TMesh > Self
SmartPointer< Self > Pointer
VectorContainer< PointType > PointContainerType
ModifiedTimeType GetMTime() const override
Implements transparent reference counting.
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
bool IsInsideInObjectSpace(const PointType &point, unsigned int depth, const std::string &name="") const
Point< ScalarType, VDimension > PointType
AffineTransform< ScalarType, VDimension > TransformType
SmartPointer< Self > Pointer
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
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer
SizeValueType ModifiedTimeType