19#ifndef rtkConvexShape_h
20#define rtkConvexShape_h
100 SetClipPlanes(
const std::vector<VectorType> & dir,
const std::vector<ScalarType> & pos);
108 itkGetConstReferenceMacro(PlaneDirections, std::vector<VectorType>);
109 itkGetConstReferenceMacro(PlanePositions, std::vector<ScalarType>);
Base class for all data objects in ITK.
SmartPointer< Self > Pointer
A templated class holding a M x N size Matrix.
A templated class holding a geometric point in n-Dimensional space.
Implements transparent reference counting.
A templated class holding a n-Dimensional vector.
bool ApplyClipPlanes(const PointType &point) const
bool ApplyClipPlanes(const PointType &rayOrigin, const VectorType &rayDirection, ScalarType &infDist, ScalarType &supDist) const
itk::SmartPointer< Self > Pointer
virtual void Translate(const VectorType &t)
std::vector< ScalarType > m_PlanePositions
virtual void Rotate(const RotationMatrixType &r)
virtual bool IsInside(const PointType &point) const
void SetClipPlanes(const std::vector< VectorType > &dir, const std::vector< ScalarType > &pos)
itk::Point< ScalarType, Dimension > PointType
virtual void Rescale(const VectorType &r)
virtual bool IsIntersectedByRay(const PointType &rayOrigin, const VectorType &rayDirection, ScalarType &infDist, ScalarType &supDist) const
itk::LightObject::Pointer InternalClone() const override
static constexpr unsigned int Dimension
std::vector< VectorType > m_PlaneDirections
itk::Vector< ScalarType, Dimension > VectorType
itk::SmartPointer< const Self > ConstPointer
void AddClipPlane(const VectorType &dir, const ScalarType &pos)
itk::DataObject Superclass
itk::Matrix< ScalarType, Dimension, Dimension > RotationMatrixType
#define itkSetMacro(name, type)