18 #ifndef itkMeshSpatialObject_h
19 #define itkMeshSpatialObject_h
36 template<
typename TMesh = Mesh<
int > >
45 itkStaticConstMacro(
Dimension,
unsigned int, TMesh::PointDimension);
76 bool IsEvaluableAt(
const PointType & point,
77 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
82 bool ValueAt(const
PointType & point,
double & value,
83 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
87 unsigned int depth,
char *name) const ITK_OVERRIDE;
92 virtual
bool IsInside(const
PointType & point) const;
95 bool ComputeLocalBoundingBox() const ITK_OVERRIDE;
101 const
char * GetPixelType()
103 return m_PixelType.c_str();
112 itkSetMacro(IsInsidePrecision,
double);
113 itkGetMacro(IsInsidePrecision,
double);
125 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
129 #ifndef ITK_MANUAL_INSTANTIATION
130 #include "itkMeshSpatialObject.hxx"
133 #endif //itkMeshSpatialObject_h
MeshType::Pointer MeshPointer
Implementation of an Mesh as spatial object.
Superclass::PointType PointType
unsigned long ModifiedTimeType
VectorContainer< IdentifierType, PointType > PointContainerType
SpatialObject< itkGetStaticConstMacro(Dimension) > Superclass
Superclass::TransformType TransformType
Superclass::BoundingBoxType BoundingBoxType
Implements the N-dimensional mesh structure.
MeshSpatialObject< TMesh > Self
ImageBaseType::PointType PointType
Implementation of the composite pattern.
const unsigned int Dimension
PointContainerType::Pointer PointContainerPointer
SmartPointer< Self > Pointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
Base class for all data objects in ITK.
double m_IsInsidePrecision