18 #ifndef __itkMeshSpatialObject_h
19 #define __itkMeshSpatialObject_h
36 template<
class TMesh = Mesh<
int > >
38 public SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >
45 itkStaticConstMacro(Dimension,
unsigned int, TMesh::PointDimension);
76 bool IsEvaluableAt(
const PointType & point,
77 unsigned int depth = 0,
char *name =
NULL)
const;
82 bool ValueAt(
const PointType & point,
double & value,
83 unsigned int depth = 0,
char *name =
NULL)
const;
87 unsigned int depth,
char *name)
const;
92 virtual bool IsInside(
const PointType & point)
const;
95 bool ComputeLocalBoundingBox()
const;
98 unsigned long GetMTime(
void)
const;
101 const char * GetPixelType()
103 return m_PixelType.c_str();
112 itkSetMacro(IsInsidePrecision,
double);
113 itkGetMacro(IsInsidePrecision,
double);
124 void PrintSelf(std::ostream & os,
Indent indent)
const;
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkMeshSpatialObject.hxx"
132 #endif //__itkMeshSpatialObject_h