18 #ifndef itkMeshSpatialObject_h 19 #define itkMeshSpatialObject_h 36 template<
typename TMesh = Mesh<
int > >
45 itkStaticConstMacro(
Dimension,
unsigned int, TMesh::PointDimension);
71 const MeshType *
GetMesh()
const;
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;
86 bool IsInside(const PointType & point,
87 unsigned int depth,
char *name) const ITK_OVERRIDE;
92 virtual
bool IsInside(const PointType & point) const;
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 ComputeLocalBoundingBox() const override
MeshType::Pointer MeshPointer
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
virtual ~MeshSpatialObject()
Implementation of an Mesh as spatial object.
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::PointType PointType
unsigned long ModifiedTimeType
VectorContainer< IdentifierType, PointType > PointContainerType
static const unsigned int Dimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SpatialObject< itkGetStaticConstMacro(Dimension) > Superclass
Superclass::TransformType TransformType
Superclass::BoundingBoxType BoundingBoxType
Implements the N-dimensional mesh structure.
const char * GetPixelType()
ModifiedTimeType GetMTime(void) const override
MeshSpatialObject< TMesh > Self
Implementation of the composite pattern.
PointContainerType::Pointer PointContainerPointer
SmartPointer< Self > Pointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=nullptr) const override
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
bool IsInside(const PointType &point, unsigned int depth, char *name) const override
ScalableAffineTransform< double, VDimension > TransformType
double m_IsInsidePrecision
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=nullptr) const override