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