ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkBlobSpatialObject.h>
Spatial object representing a potentially amorphous object.
The BlobSpatialObject is a discretized representation of a "blob", which can be taken to be an arbitrary, possibly amorphous shape. The representation is a list of the points (voxel centers) contained in the object. This can be thought of as an alternate way to represent a binary image.
Definition at line 46 of file itkBlobSpatialObject.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::PointBasedSpatialObject< TDimension, SpatialObjectPoint< TDimension > > | |
virtual void | AddPoint (const SpatialObjectPointType &newPoints) |
SpatialObjectPoint< TDimension > | ClosestPointInObjectSpace (const PointType &point) const |
SpatialObjectPoint< TDimension > | ClosestPointInWorldSpace (const PointType &point) const |
bool | ComputeMyBoundingBox () const override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual SizeValueType | GetNumberOfPoints () const |
virtual const SpatialObjectPointType * | GetPoint (IdentifierType id) const |
virtual SpatialObjectPointType * | GetPoint (IdentifierType id) |
virtual SpatialObjectPointListType & | GetPoints () |
virtual const SpatialObjectPointListType & | GetPoints () const |
bool | IsInsideInObjectSpace (const PointType &worldPoint, unsigned int depth=0, const std::string &name="") const override |
virtual void | SetPoints (const SpatialObjectPointListType &newPoints) |
Public Member Functions inherited from itk::SpatialObject< TDimension > | |
void | AddChild (Self *pointer) |
virtual void | AddChildrenToList (ChildrenListType *children, 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 | ComputeObjectToWorldTransform () |
void | CopyInformation (const DataObject *data) override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual void | DerivativeAtInObjectSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &spacing=1) |
virtual void | DerivativeAtInWorldSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &spacing=1) |
bool | Evaluate (const PointType &point) const |
void | FixIdValidity () |
bool | FixParentChildHierarchyUsingParentIds () |
virtual const RegionType & | GetBufferedRegion () const |
virtual ChildrenListType * | GetChildren (unsigned int depth=0, const std::string &name="") const |
virtual std::string | GetClassNameAndDimension (void) const |
virtual const BoundingBoxType * | GetFamilyBoundingBoxInObjectSpace () const |
virtual const BoundingBoxType * | GetFamilyBoundingBoxInWorldSpace () const |
virtual const RegionType & | GetLargestPossibleRegion () const |
unsigned int | GetMaximumDepth () const |
ModifiedTimeType | GetMTime () const override |
virtual const BoundingBoxType * | GetMyBoundingBoxInObjectSpace () const |
virtual const BoundingBoxType * | GetMyBoundingBoxInWorldSpace () const |
ModifiedTimeType | GetMyMTime () const |
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 const Self * | GetParent () const |
virtual Self * | GetParent () |
const PropertyType & | GetProperty () const |
PropertyType & | GetProperty () |
virtual const RegionType & | GetRequestedRegion () const |
virtual const 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 |
virtual 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 |
virtual bool | IsInsideInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
virtual bool | IsInsideInWorldSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const |
void | RemoveAllChildren (unsigned int depth=MaximumDepth) |
bool | RemoveChild (Self *object) |
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
virtual void | SetBufferedRegion (const RegionType ®ion) |
void | SetChildren (ChildrenListType &children) |
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
void | SetParent (Self *parent) |
void | SetProperty (const PropertyType &property) |
virtual void | SetRequestedRegion (const RegionType ®ion) |
void | SetRequestedRegion (const DataObject *data) override |
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 |
virtual 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 | SetObjectToWorldTransform (const TransformType *transform) |
virtual TransformType * | GetModifiableObjectToWorldTransform () |
virtual const TransformType * | GetObjectToWorldTransform () const |
const TransformType * | GetObjectToWorldTransformInverse () const |
void | SetObjectToParentTransform (const TransformType *transform) |
virtual TransformType * | GetModifiableObjectToParentTransform () |
virtual const TransformType * | GetObjectToParentTransform () const |
const TransformType * | GetObjectToParentTransformInverse () 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< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | Graft (const DataObject *) |
virtual void | Initialize () |
virtual void | PrepareForNewData () |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
bool | ShouldIReleaseData () const |
virtual void | UpdateOutputData () |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual const TimeStamp & | GetTimeStamp () 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) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexceptoverride |
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 | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
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, SpatialObjectPoint< 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 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 flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
BlobSpatialObject () | |
LightObject::Pointer | InternalClone () const override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~BlobSpatialObject () override=default | |
Protected Member Functions inherited from itk::PointBasedSpatialObject< TDimension, SpatialObjectPoint< TDimension > > | |
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 > | |
BoundingBoxType * | GetModifiableMyBoundingBoxInObjectSpace () const |
LightObject::Pointer | InternalClone () const override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
SpatialObject () | |
~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 &time) |
~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 () |
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, SpatialObjectPoint< TDimension > > | |
SpatialObjectPointListType | m_Points |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::BlobSpatialObject< TDimension >::BlobPointListType = std::vector< BlobPointType > |
Definition at line 62 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::BlobPointType = SpatialObjectPoint< TDimension > |
Definition at line 61 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::BoundingBoxType = typename Superclass::BoundingBoxType |
Definition at line 67 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::ConstPointer = SmartPointer< const Self > |
Definition at line 57 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::PointContainerPointer = SmartPointer< PointContainerType > |
Definition at line 69 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::PointContainerType = VectorContainer< IdentifierType, PointType > |
Definition at line 68 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::Pointer = SmartPointer< Self > |
Definition at line 56 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::PointType = typename Superclass::PointType |
Definition at line 64 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::ScalarType = double |
Definition at line 59 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::Self = BlobSpatialObject |
Definition at line 53 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::SpatialObjectPointType = typename Superclass::SpatialObjectPointType |
Definition at line 65 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::Superclass = PointBasedSpatialObject< TDimension, SpatialObjectPoint< TDimension > > |
Definition at line 55 of file itkBlobSpatialObject.h.
using itk::BlobSpatialObject< TDimension >::TransformType = typename Superclass::TransformType |
Definition at line 66 of file itkBlobSpatialObject.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
Method for creation through the object factory.
Reimplemented from itk::PointBasedSpatialObject< TDimension, SpatialObjectPoint< TDimension > >.
|
overrideprotectedvirtual |
Actual implementation of the clone method. This method should be reimplemeted in subclasses to clone the extra required parameters.
Reimplemented from itk::LightObject.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Method to print the object.
Reimplemented from itk::DataObject.