ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
itk::ContourSpatialObject< TDimension > Class Template Reference

#include <itkContourSpatialObject.h>

Detailed Description

template<unsigned int TDimension = 3>
class itk::ContourSpatialObject< TDimension >

Representation of a Contour based on the spatial object classes.

The Contour is basically defined by a set of points which are inside this blob

See also
SpatialObjectPoint
ITK Sphinx Examples:
Examples
SphinxExamples/src/Core/SpatialObjects/ContourSpatialObject/Code.cxx.

Definition at line 69 of file itkContourSpatialObject.h.

+ Inheritance diagram for itk::ContourSpatialObject< TDimension >:
+ Collaboration diagram for itk::ContourSpatialObject< TDimension >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using ContourPointListType = std::vector< ContourPointType >
 
using ContourPointType = ContourSpatialObjectPoint< TDimension >
 
using ControlPointListType = std::vector< ControlPointType >
 
using ControlPointType = ContourSpatialObjectPoint< TDimension >
 
using InterpolationMethodEnum = ContourSpatialObjectEnums::InterpolationMethod
 
using PointContainerPointer = SmartPointer< PointContainerType >
 
using PointContainerType = VectorContainer< PointType >
 
using Pointer = SmartPointer< Self >
 
using ScalarType = double
 
using Self = ContourSpatialObject
 
using Superclass = PointBasedSpatialObject< TDimension, ContourSpatialObjectPoint< TDimension > >
 
- Public Types inherited from itk::PointBasedSpatialObject< TDimension, ContourSpatialObjectPoint< TDimension > >
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using ScalarType = double
 
using Self = PointBasedSpatialObject
 
using SpatialObjectPointListType = std::vector< SpatialObjectPointType >
 
using SpatialObjectPointType = ContourSpatialObjectPoint< TDimension >
 
using Superclass = SpatialObject< TDimension >
 
- Public Types inherited from itk::SpatialObject< TDimension >
using BoundingBoxPointer = typename BoundingBoxType::Pointer
 
using BoundingBoxType = BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType >
 
using ChildrenConstListPointer = ChildrenConstListType *
 
using ChildrenConstListType = std::list< ConstPointer >
 
using ChildrenListPointer = ChildrenListType *
 
using ChildrenListType = std::list< Pointer >
 
using ConstPointer = SmartPointer< const Self >
 
using CovariantVectorType = CovariantVector< ScalarType, VDimension >
 
using DerivativeOffsetType = Vector< double, VDimension >
 
using DerivativeVectorPointer = DerivativeVectorType *
 
using DerivativeVectorType = CovariantVector< ScalarType, VDimension >
 
using IndexType = Index< VDimension >
 
using InputType = Point< ScalarType, VDimension >
 
using ObjectConstListType = std::list< ConstPointer >
 
using ObjectDimensionType = unsigned int
 
using ObjectListType = std::list< Pointer >
 
using Pointer = SmartPointer< Self >
 
using PointPointer = PointType *
 
using PointType = Point< ScalarType, VDimension >
 
using PropertyType = SpatialObjectProperty
 
using RegionType = ImageRegion< VDimension >
 
using ScalarType = double
 
using Self = SpatialObject< VDimension >
 
using SizeType = Size< VDimension >
 
using Superclass = DataObject
 
using TransformConstPointer = const TransformType *
 
using TransformPointer = typename TransformType::Pointer
 
using TransformType = AffineTransform< ScalarType, VDimension >
 
using VectorContainerType = VectorContainer< PointType >
 
using VectorPointer = VectorType *
 
using VectorType = Vector< ScalarType, VDimension >
 
- Public Types inherited from itk::DataObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = std::string
 
using DataObjectPointerArraySizeType = std::vector< Pointer >::size_type
 
using Pointer = SmartPointer< Self >
 
using Self = DataObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

void AddControlPoint (const ControlPointType &point)
 
void Clear () override
 
virtual int GetAttachedToSlice () const
 
ControlPointTypeGetControlPoint (IdentifierType id)
 
const ControlPointTypeGetControlPoint (IdentifierType id) const
 
ControlPointListTypeGetControlPoints ()
 
const ControlPointListTypeGetControlPoints () const
 
virtual unsigned int GetInterpolationFactor () const
 
virtual InterpolationMethodEnum GetInterpolationMethod () const
 
virtual bool GetIsClosed () const
 
const char * GetNameOfClass () const override
 
SizeValueType GetNumberOfControlPoints () const
 
int GetOrientationInObjectSpace () const
 
virtual void IsClosedOn ()
 
virtual void SetAttachedToSlice (int _arg)
 
void SetControlPoints (const ControlPointListType &points)
 
virtual void SetInterpolationFactor (unsigned int _arg)
 
virtual void SetInterpolationMethod (const InterpolationMethodEnum _arg)
 
virtual void SetIsClosed (bool _arg)
 
void Update () override
 
- Public Member Functions inherited from itk::PointBasedSpatialObject< TDimension, ContourSpatialObjectPoint< TDimension > >
virtual void AddPoint (const SpatialObjectPointType &newPoint)
 
void Clear () override
 
ContourSpatialObjectPoint< TDimension > ClosestPointInObjectSpace (const PointType &point) const
 
ContourSpatialObjectPoint< TDimension > ClosestPointInWorldSpace (const PointType &point) const
 
const char * GetNameOfClass () const override
 
virtual SizeValueType GetNumberOfPoints () const
 
virtual SpatialObjectPointTypeGetPoint (IdentifierType id)
 
virtual const SpatialObjectPointTypeGetPoint (IdentifierType id) const
 
virtual SpatialObjectPointListTypeGetPoints ()
 
virtual const SpatialObjectPointListTypeGetPoints () const
 
bool IsInsideInObjectSpace (const PointType &point) const override
 
virtual void RemovePoint (IdentifierType id)
 
virtual void SetPoints (const SpatialObjectPointListType &newPoints)
 
- Public Member Functions inherited from itk::SpatialObject< TDimension >
void AddChild (Self *pointer)
 
virtual void AddChildrenToConstList (ChildrenConstListType *childrenCList, unsigned int depth=0, const std::string &name="") const
 
virtual void AddChildrenToList (ChildrenListType *childrenList, unsigned int depth=0, const std::string &name="") const
 
bool CheckIdValidity () const
 
virtual bool ComputeFamilyBoundingBox (unsigned int depth=0, const std::string &name="") const
 
void ComputeObjectToParentTransform ()
 
void CopyInformation (const DataObject *data) override
 
virtual void DerivativeAtInObjectSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &offset=MakeFilled< DerivativeOffsetType >(1))
 
void DerivativeAtInWorldSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &offset=MakeFilled< DerivativeOffsetType >(1))
 
bool Evaluate (const PointType &point) const
 
void FixIdValidity ()
 
bool FixParentChildHierarchyUsingParentIds ()
 
virtual const RegionTypeGetBufferedRegion () const
 
virtual ChildrenListTypeGetChildren (unsigned int depth=0, const std::string &name="") const
 
virtual std::string GetClassNameAndDimension () const
 
virtual ChildrenConstListTypeGetConstChildren (unsigned int depth=0, const std::string &name="") const
 
virtual const BoundingBoxTypeGetFamilyBoundingBoxInObjectSpace () const
 
virtual const BoundingBoxTypeGetFamilyBoundingBoxInWorldSpace () const
 
virtual const RegionTypeGetLargestPossibleRegion () const
 
unsigned int GetMaximumDepth () const
 
ModifiedTimeType GetMTime () const override
 
virtual const BoundingBoxTypeGetMyBoundingBoxInObjectSpace () const
 
virtual const BoundingBoxTypeGetMyBoundingBoxInWorldSpace () const
 
ModifiedTimeType GetMyMTime () const
 
const char * GetNameOfClass () const override
 
int GetNextAvailableId () const
 
unsigned int GetNumberOfChildren (unsigned int depth=0, const std::string &name="") const
 
SpatialObject< VDimension > * GetObjectById (int id)
 
unsigned int GetObjectDimension () const
 
virtual SelfGetParent ()
 
virtual const SelfGetParent () const
 
PropertyTypeGetProperty ()
 
const PropertyTypeGetProperty () const
 
virtual const RegionTypeGetRequestedRegion () const
 
virtual std::string GetTypeName () const
 
virtual bool HasParent () const
 
virtual bool IsEvaluableAtChildrenInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
virtual bool IsEvaluableAtInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
bool IsEvaluableAtInWorldSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
virtual bool IsInsideChildrenInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
bool IsInsideInObjectSpace (const PointType &point, unsigned int depth, const std::string &name="") const
 
bool IsInsideInWorldSpace (const PointType &point) const
 
bool IsInsideInWorldSpace (const PointType &point, unsigned int depth, const std::string &name="") const
 
void RemoveAllChildren (unsigned int depth=MaximumDepth)
 
bool RemoveChild (Self *pointer)
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual void SetBufferedRegion (const RegionType &region)
 
void SetChildren (ChildrenListType &children)
 
virtual void SetLargestPossibleRegion (const RegionType &region)
 
void SetParent (Self *parent)
 
void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegion (const RegionType &region)
 
void SetRequestedRegionToLargestPossibleRegion () override
 
virtual void SetTypeName (std::string _arg)
 
void Update () override
 
void UpdateOutputInformation () override
 
virtual bool ValueAtChildrenInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const
 
virtual bool ValueAtInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const
 
bool ValueAtInWorldSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const
 
bool VerifyRequestedRegion () override
 
void SetId (int id)
 
virtual const int & GetId () const
 
void SetProperty (const PropertyType &property)
 
void SetObjectToWorldTransform (const TransformType *transform)
 
virtual TransformTypeGetModifiableObjectToWorldTransform ()
 
const TransformTypeGetObjectToWorldTransformInverse () const
 
void SetObjectToParentTransform (const TransformType *transform)
 
virtual TransformTypeGetModifiableObjectToParentTransform ()
 
const TransformTypeGetObjectToParentTransformInverse () const
 
virtual void SetDefaultInsideValue (double _arg)
 
virtual double GetDefaultInsideValue () const
 
virtual void SetDefaultOutsideValue (double _arg)
 
virtual double GetDefaultOutsideValue () const
 
virtual void SetParentId (int _arg)
 
virtual const int & GetParentId () const
 
- Public Member Functions inherited from itk::DataObject
virtual void DataHasBeenGenerated ()
 
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointer< ProcessObjectGetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void Graft (const DataObject *)
 
virtual void Initialize ()
 
virtual void PrepareForNewData ()
 
virtual void PropagateRequestedRegion ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
virtual void UpdateOutputData ()
 
void UpdateSource () const
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeTypeGetPipelineMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::PointBasedSpatialObject< TDimension, ContourSpatialObjectPoint< TDimension > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::SpatialObject< TDimension >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static Pointer New ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 ContourSpatialObject ()
 
LightObject::Pointer InternalClone () const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ContourSpatialObject () override=default
 
- Protected Member Functions inherited from itk::PointBasedSpatialObject< TDimension, ContourSpatialObjectPoint< TDimension > >
void ComputeMyBoundingBox () override
 
LightObject::Pointer InternalClone () const override
 
 PointBasedSpatialObject ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~PointBasedSpatialObject () override=default
 
- Protected Member Functions inherited from itk::SpatialObject< TDimension >
BoundingBoxTypeGetModifiableMyBoundingBoxInObjectSpace ()
 
LightObject::Pointer InternalClone () const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ProtectedComputeObjectToWorldTransform ()
 
 SpatialObject ()=default
 
 ~SpatialObject () override
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
virtual void PropagateResetPipeline ()
 
 ~DataObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

int m_AttachedToSlice {}
 
ContourPointListType m_ControlPoints {}
 
unsigned int m_InterpolationFactor {}
 
InterpolationMethodEnum m_InterpolationMethod {}
 
bool m_IsClosed {}
 
int m_OrientationInObjectSpace {}
 
ModifiedTimeType m_OrientationInObjectSpaceMTime {}
 

Additional Inherited Members

- Static Public Attributes inherited from itk::SpatialObject< TDimension >
static constexpr unsigned int MaximumDepth
 
static constexpr ObjectDimensionType ObjectDimension
 
- Protected Attributes inherited from itk::PointBasedSpatialObject< TDimension, ContourSpatialObjectPoint< TDimension > >
SpatialObjectPointListType m_Points
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::ConstPointer = SmartPointer<const Self>

Definition at line 78 of file itkContourSpatialObject.h.

◆ ContourPointListType

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::ContourPointListType = std::vector<ContourPointType>

Definition at line 83 of file itkContourSpatialObject.h.

◆ ContourPointType

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::ContourPointType = ContourSpatialObjectPoint<TDimension>

Definition at line 82 of file itkContourSpatialObject.h.

◆ ControlPointListType

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::ControlPointListType = std::vector<ControlPointType>

Definition at line 85 of file itkContourSpatialObject.h.

◆ ControlPointType

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::ControlPointType = ContourSpatialObjectPoint<TDimension>

Definition at line 84 of file itkContourSpatialObject.h.

◆ InterpolationMethodEnum

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::InterpolationMethodEnum = ContourSpatialObjectEnums::InterpolationMethod

Definition at line 93 of file itkContourSpatialObject.h.

◆ PointContainerPointer

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::PointContainerPointer = SmartPointer<PointContainerType>

Definition at line 91 of file itkContourSpatialObject.h.

◆ PointContainerType

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::PointContainerType = VectorContainer<PointType>

Definition at line 90 of file itkContourSpatialObject.h.

◆ Pointer

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::Pointer = SmartPointer<Self>

Definition at line 77 of file itkContourSpatialObject.h.

◆ ScalarType

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::ScalarType = double

Definition at line 80 of file itkContourSpatialObject.h.

◆ Self

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::Self = ContourSpatialObject

Definition at line 75 of file itkContourSpatialObject.h.

◆ Superclass

template<unsigned int TDimension = 3>
using itk::ContourSpatialObject< TDimension >::Superclass = PointBasedSpatialObject<TDimension, ContourSpatialObjectPoint<TDimension> >

Definition at line 76 of file itkContourSpatialObject.h.

Constructor & Destructor Documentation

◆ ContourSpatialObject()

template<unsigned int TDimension = 3>
itk::ContourSpatialObject< TDimension >::ContourSpatialObject ( )
protected

◆ ~ContourSpatialObject()

template<unsigned int TDimension = 3>
itk::ContourSpatialObject< TDimension >::~ContourSpatialObject ( )
overrideprotecteddefault

Member Function Documentation

◆ AddControlPoint()

template<unsigned int TDimension = 3>
void itk::ContourSpatialObject< TDimension >::AddControlPoint ( const ControlPointType point)

Add a point to the list of control points defining the contour.

◆ Clear()

template<unsigned int TDimension = 3>
void itk::ContourSpatialObject< TDimension >::Clear ( )
overridevirtual

Reset the spatial object to its initial condition, yet preserves Id, Parent, and Child information

Reimplemented from itk::SpatialObject< TDimension >.

◆ GetAttachedToSlice()

template<unsigned int TDimension = 3>
virtual int itk::ContourSpatialObject< TDimension >::GetAttachedToSlice ( ) const
virtual

Get the slice attached to the contour. Return -1 if not attached.

◆ GetControlPoint() [1/2]

template<unsigned int TDimension = 3>
ControlPointType* itk::ContourSpatialObject< TDimension >::GetControlPoint ( IdentifierType  id)
inline

Return a control point in the list given the index

Definition at line 146 of file itkContourSpatialObject.h.

◆ GetControlPoint() [2/2]

template<unsigned int TDimension = 3>
const ControlPointType* itk::ContourSpatialObject< TDimension >::GetControlPoint ( IdentifierType  id) const
inline

Return a control point in the list given the index

Definition at line 139 of file itkContourSpatialObject.h.

◆ GetControlPoints() [1/2]

template<unsigned int TDimension = 3>
ControlPointListType& itk::ContourSpatialObject< TDimension >::GetControlPoints ( )
inline

Returns a reference to the list of the control points.

Definition at line 117 of file itkContourSpatialObject.h.

◆ GetControlPoints() [2/2]

template<unsigned int TDimension = 3>
const ControlPointListType& itk::ContourSpatialObject< TDimension >::GetControlPoints ( ) const
inline

Returns a reference to the list of the control points.

Definition at line 124 of file itkContourSpatialObject.h.

◆ GetInterpolationFactor()

template<unsigned int TDimension = 3>
virtual unsigned int itk::ContourSpatialObject< TDimension >::GetInterpolationFactor ( ) const
virtual

Get the interpolation factor.

◆ GetInterpolationMethod()

template<unsigned int TDimension = 3>
virtual InterpolationMethodEnum itk::ContourSpatialObject< TDimension >::GetInterpolationMethod ( ) const
virtual

Get the interpolation type.

◆ GetIsClosed()

template<unsigned int TDimension = 3>
virtual bool itk::ContourSpatialObject< TDimension >::GetIsClosed ( ) const
virtual

Get if the contour is closed.

◆ GetNameOfClass()

template<unsigned int TDimension = 3>
const char* itk::ContourSpatialObject< TDimension >::GetNameOfClass ( ) const
overridevirtual
See also
LightObject::GetNameOfClass()

Reimplemented from itk::DataObject.

◆ GetNumberOfControlPoints()

template<unsigned int TDimension = 3>
SizeValueType itk::ContourSpatialObject< TDimension >::GetNumberOfControlPoints ( ) const
inline

Return the number of control points in the list

Definition at line 153 of file itkContourSpatialObject.h.

◆ GetOrientationInObjectSpace()

template<unsigned int TDimension = 3>
int itk::ContourSpatialObject< TDimension >::GetOrientationInObjectSpace ( ) const

Get the axis-normal orientation of the contour

◆ InternalClone()

template<unsigned int TDimension = 3>
LightObject::Pointer itk::ContourSpatialObject< TDimension >::InternalClone ( ) const
overrideprotectedvirtual

Actual implementation of the clone method. This method should be reimplemented in subclasses to clone the extra required parameters.

Reimplemented from itk::LightObject.

◆ IsClosedOn()

template<unsigned int TDimension = 3>
virtual void itk::ContourSpatialObject< TDimension >::IsClosedOn ( )
virtual

◆ New()

template<unsigned int TDimension = 3>
static Pointer itk::ContourSpatialObject< TDimension >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<unsigned int TDimension = 3>
void itk::ContourSpatialObject< TDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Method to print the object.

Reimplemented from itk::DataObject.

◆ SetAttachedToSlice()

template<unsigned int TDimension = 3>
virtual void itk::ContourSpatialObject< TDimension >::SetAttachedToSlice ( int  _arg)
virtual

Set the slice attached to the contour. Set -1 to indicate no attachment

◆ SetControlPoints()

template<unsigned int TDimension = 3>
void itk::ContourSpatialObject< TDimension >::SetControlPoints ( const ControlPointListType points)

Set the list of control points defining the contour.

◆ SetInterpolationFactor()

template<unsigned int TDimension = 3>
virtual void itk::ContourSpatialObject< TDimension >::SetInterpolationFactor ( unsigned int  _arg)
virtual

Set the interpolation factor, e.g., factor of 2 means 2 interpolated points created for every control point.

◆ SetInterpolationMethod()

template<unsigned int TDimension = 3>
virtual void itk::ContourSpatialObject< TDimension >::SetInterpolationMethod ( const InterpolationMethodEnum  _arg)
virtual

Set the interpolation type.

◆ SetIsClosed()

template<unsigned int TDimension = 3>
virtual void itk::ContourSpatialObject< TDimension >::SetIsClosed ( bool  _arg)
virtual

Set if the contour is closed.

◆ Update()

template<unsigned int TDimension = 3>
void itk::ContourSpatialObject< TDimension >::Update ( )
overridevirtual

Apply the interpolator to generate points from the control points

Reimplemented from itk::DataObject.

Member Data Documentation

◆ m_AttachedToSlice

template<unsigned int TDimension = 3>
int itk::ContourSpatialObject< TDimension >::m_AttachedToSlice {}
private

Definition at line 215 of file itkContourSpatialObject.h.

◆ m_ControlPoints

template<unsigned int TDimension = 3>
ContourPointListType itk::ContourSpatialObject< TDimension >::m_ControlPoints {}
private

Definition at line 207 of file itkContourSpatialObject.h.

◆ m_InterpolationFactor

template<unsigned int TDimension = 3>
unsigned int itk::ContourSpatialObject< TDimension >::m_InterpolationFactor {}
private

Definition at line 210 of file itkContourSpatialObject.h.

◆ m_InterpolationMethod

template<unsigned int TDimension = 3>
InterpolationMethodEnum itk::ContourSpatialObject< TDimension >::m_InterpolationMethod {}
private

Definition at line 209 of file itkContourSpatialObject.h.

◆ m_IsClosed

template<unsigned int TDimension = 3>
bool itk::ContourSpatialObject< TDimension >::m_IsClosed {}
mutableprivate

Definition at line 212 of file itkContourSpatialObject.h.

◆ m_OrientationInObjectSpace

template<unsigned int TDimension = 3>
int itk::ContourSpatialObject< TDimension >::m_OrientationInObjectSpace {}
mutableprivate

Definition at line 213 of file itkContourSpatialObject.h.

◆ m_OrientationInObjectSpaceMTime

template<unsigned int TDimension = 3>
ModifiedTimeType itk::ContourSpatialObject< TDimension >::m_OrientationInObjectSpaceMTime {}
mutableprivate

Definition at line 214 of file itkContourSpatialObject.h.


The documentation for this class was generated from the following file: