18 #ifndef itkSurfaceSpatialObject_h
19 #define itkSurfaceSpatialObject_h
38 template<
unsigned int TDimension = 3 >
73 return &( m_Points[id] );
86 void SetPoints(PointListType & newPoints);
90 bool IsEvaluableAt(
const PointType & point,
91 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
97 bool ValueAt(const
PointType & point,
double & value,
98 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
102 unsigned int depth,
char *name) const ITK_OVERRIDE;
107 virtual
bool IsInside(const
PointType & point) const;
110 bool ComputeLocalBoundingBox() const ITK_OVERRIDE;
113 bool Approximate3DNormals();
120 SurfaceSpatialObject();
121 virtual ~SurfaceSpatialObject() ITK_OVERRIDE;
124 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkSurfaceSpatialObject.hxx"
132 #endif // itkSurfaceSpatialObject_h
SurfaceSpatialObjectPoint< TDimension > SurfacePointType
Point used for a Surface definition.
PointBasedSpatialObject< TDimension > Superclass
const SpatialObjectPointType * GetPoint(IdentifierType id) const override
Superclass::TransformType TransformType
Superclass::CovariantVectorType CovariantVectorType
SmartPointer< const Self > ConstPointer
This class serves as the base class for point-based spatial objects.
SurfaceSpatialObject Self
unsigned long SizeValueType
VectorContainer< IdentifierType, PointType > PointContainerType
SizeValueType IdentifierType
ImageBaseType::PointType PointType
Superclass::BoundingBoxType BoundingBoxType
SmartPointer< Self > Pointer
Representation of a Surface based on the spatial object classes.
Superclass::PointType PointType
SmartPointer< PointContainerType > PointContainerPointer
Point used for spatial objets.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
std::vector< SurfacePointType > PointListType
Control indentation during Print() invocation.
Superclass::SpatialObjectPointType SpatialObjectPointType
SizeValueType GetNumberOfPoints(void) const override
Base class for all data objects in ITK.
SpatialObjectPointType * GetPoint(IdentifierType id) override