ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkPolygonGroupSpatialObject.h>
Public Member Functions | |
bool | AddStrand (PolygonSpatialObject< TDimension > *toAdd) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
bool | DeleteStrand (PolygonSpatialObject< TDimension > *toDelete) |
virtual const char * | GetNameOfClass () const |
bool | IsClosed () |
virtual bool | IsInside (const PointType &point, unsigned int depth=0, char *name=NULL) const |
double | MeasureVolume () |
unsigned int | NumberOfStrands () |
bool | ReplaceStrand (PolygonSpatialObject< TDimension > *toReplace, PolygonSpatialObject< TDimension > *replacement) |
double | Volume () |
bool | ComputeLocalBoundingBox () const |
Public Member Functions inherited from itk::SpatialObject< TDimension > | |
void | AddSpatialObject (Self *pointer) |
virtual void | Clear (void) |
virtual bool | ComputeBoundingBox () const |
void | ComputeObjectToParentTransform (void) |
void | ComputeObjectToWorldTransform (void) |
virtual void | DerivativeAt (const PointType &point, short unsigned int order, OutputVectorType &value, unsigned int depth=0, char *name=NULL) |
bool | Evaluate (const PointType &point) const |
virtual BoundingBoxType * | GetBoundingBox () const |
virtual const RegionType & | GetBufferedRegion () const |
virtual ChildrenListType * | GetChildren (unsigned int depth=0, char *name=NULL) const |
TransformType * | GetIndexToObjectTransform (void) |
const TransformType * | GetIndexToObjectTransform (void) const |
virtual TransformType * | GetIndexToWorldTransform () |
virtual const TransformType * | GetIndexToWorldTransform () |
virtual const RegionType & | GetLargestPossibleRegion () const |
unsigned int | GetMaximumDepth () const |
unsigned long | GetMTime (void) const |
TransformType * | GetNodeToParentNodeTransform (void) |
const TransformType * | GetNodeToParentNodeTransform (void) const |
unsigned int | GetNumberOfChildren (unsigned int depth=0, char *name=NULL) const |
unsigned int | GetObjectDimension (void) const |
unsigned long | GetObjectMTime (void) const |
TransformType * | GetObjectToNodeTransform (void) |
const TransformType * | GetObjectToNodeTransform (void) const |
TransformType * | GetObjectToParentTransform (void) |
const TransformType * | GetObjectToParentTransform (void) const |
virtual TransformType * | GetObjectToWorldTransform () |
virtual const TransformType * | GetObjectToWorldTransform () |
virtual const Self * | GetParent (void) const |
virtual Self * | GetParent (void) |
virtual const RegionType & | GetRequestedRegion () const |
virtual const double * | GetSpacing () const |
virtual std::string | GetSpatialObjectTypeAsString () const |
unsigned long | GetTransformMTime (void) |
virtual const char * | GetTypeName (void) const |
unsigned long | GetWorldTransformMTime (void) |
virtual bool | HasParent (void) const |
virtual bool | IsEvaluableAt (const PointType &point, unsigned int depth=0, char *name=NULL) const |
virtual bool | IsInside (const PointType &point, unsigned int depth=0, char *name=NULL) const |
void | RemoveSpatialObject (Self *object) |
virtual void | SetBufferedRegion (const RegionType ®ion) |
void | SetChildren (ChildrenListType &children) |
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
void | SetNodeToParentNodeTransform (TransformType *transform) |
void | SetObjectToParentTransform (TransformType *transform) |
void | SetObjectToWorldTransform (TransformType *transform) |
void | SetParent (Self *parent) |
virtual void | SetRequestedRegion (const RegionType ®ion) |
virtual void | SetRequestedRegion (const DataObject *data) |
void | SetSpacing (const double spacing[itkGetStaticConstMacro(ObjectDimension)]) |
virtual void | SetTreeNode (TreeNodeType *_arg) |
virtual void | Update (void) |
virtual bool | ValueAt (const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const |
virtual const AffineGeometryFrameType * | GetAffineGeometryFrame () |
virtual void | SetAffineGeometryFrame (AffineGeometryFrameType *_arg) |
const OffsetValueType * | GetOffsetTable () const |
OffsetValueType | ComputeOffset (const IndexType &ind) const |
IndexType | ComputeIndex (OffsetValueType offset) const |
virtual void | CopyInformation (const DataObject *data) |
virtual void | UpdateOutputInformation () |
virtual void | SetRequestedRegionToLargestPossibleRegion () |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
virtual bool | VerifyRequestedRegion () |
PropertyType * | GetProperty (void) |
const PropertyType * | GetProperty (void) const |
void | SetProperty (PropertyType *property) |
virtual const int & | GetId () |
virtual void | SetId (int _arg) |
virtual void | SetParentId (int _arg) |
virtual const int & | GetParentId () |
virtual TreeNodeType * | GetTreeNode () |
virtual const TreeNodeType * | GetTreeNode () |
virtual void | SetBoundingBoxChildrenDepth (unsigned int _arg) |
virtual const unsigned int & | GetBoundingBoxChildrenDepth () |
virtual void | SetBoundingBoxChildrenName (std::string _arg) |
virtual const std::string & | GetBoundingBoxChildrenName () |
virtual void | SetDefaultInsideValue (double _arg) |
virtual double | GetDefaultInsideValue () const |
virtual void | SetDefaultOutsideValue (double _arg) |
virtual double | GetDefaultOutsideValue () const |
Public Member Functions inherited from itk::DataObject | |
virtual void | DataHasBeenGenerated () |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () |
SmartPointerForwardReference < ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual unsigned long | GetUpdateMTime () const |
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 (unsigned long time) |
virtual const unsigned long & | GetPipelineMTime () |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () |
virtual void | Graft (const DataObject *) |
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 (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) 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 |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () 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 () |
Protected Member Functions | |
void | operator= (const Self &) |
PolygonGroupSpatialObject (const Self &) | |
PolygonGroupSpatialObject (void) | |
~PolygonGroupSpatialObject (void) | |
Protected Member Functions inherited from itk::GroupSpatialObject< TDimension > | |
GroupSpatialObject () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~GroupSpatialObject () |
GroupSpatialObject (const Self &) | |
Protected Member Functions inherited from itk::SpatialObject< TDimension > | |
void | ComputeOffsetTable () |
virtual const BoundingBoxType * | GetBounds () |
virtual const unsigned int & | GetDimension () |
virtual const TransformType * | GetInternalInverseTransform () |
virtual void | SetDimension (unsigned int _arg) |
bool | SetInternalInverseTransformToWorldToIndexTransform () const |
virtual void | SetTypeName (std::string _arg) |
SpatialObject () | |
virtual | ~SpatialObject () |
Protected Member Functions inherited from itk::DataObject | |
virtual void | PropagateResetPipeline () |
DataObject () | |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Implements a Region Of Interest Type.
This class implements a Region of Interest, which is simply a space in a medical image that has some significance as a component of the scan. Different components of brain anatomy, for instance are Regions of Interest in the human brain. The primary difference between PolygonGroupSpatialObject and other descendants of SpatialObject are these:
Definition at line 50 of file itkPolygonGroupSpatialObject.h.
typedef Superclass::BoundingBoxType itk::PolygonGroupSpatialObject< TDimension >::BoundingBoxType |
Reimplemented from itk::SpatialObject< TDimension >.
Definition at line 59 of file itkPolygonGroupSpatialObject.h.
typedef Superclass::ChildrenListType itk::PolygonGroupSpatialObject< TDimension >::ChildrenListType |
Return type for the list of children
Reimplemented from itk::SpatialObject< TDimension >.
Definition at line 60 of file itkPolygonGroupSpatialObject.h.
typedef SmartPointer< const Self > itk::PolygonGroupSpatialObject< TDimension >::ConstPointer |
Reimplemented from itk::GroupSpatialObject< TDimension >.
Definition at line 57 of file itkPolygonGroupSpatialObject.h.
typedef SmartPointer< Self > itk::PolygonGroupSpatialObject< TDimension >::Pointer |
Reimplemented from itk::GroupSpatialObject< TDimension >.
Definition at line 56 of file itkPolygonGroupSpatialObject.h.
typedef Superclass::PointType itk::PolygonGroupSpatialObject< TDimension >::PointType |
Reimplemented from itk::SpatialObject< TDimension >.
Definition at line 58 of file itkPolygonGroupSpatialObject.h.
typedef PolygonGroupSpatialObject< TDimension > itk::PolygonGroupSpatialObject< TDimension >::Self |
Standard class typedefs.
Reimplemented from itk::GroupSpatialObject< TDimension >.
Definition at line 54 of file itkPolygonGroupSpatialObject.h.
typedef GroupSpatialObject< TDimension > itk::PolygonGroupSpatialObject< TDimension >::Superclass |
Reimplemented from itk::GroupSpatialObject< TDimension >.
Definition at line 55 of file itkPolygonGroupSpatialObject.h.
typedef TreeNodeType::ChildrenListType itk::PolygonGroupSpatialObject< TDimension >::TreeNodeChildrenListType |
Reimplemented from itk::GroupSpatialObject< TDimension >.
Definition at line 62 of file itkPolygonGroupSpatialObject.h.
typedef Superclass::TreeNodeType itk::PolygonGroupSpatialObject< TDimension >::TreeNodeType |
Reimplemented from itk::GroupSpatialObject< TDimension >.
Definition at line 61 of file itkPolygonGroupSpatialObject.h.
|
protected |
|
inlineprotected |
Definition at line 106 of file itkPolygonGroupSpatialObject.h.
|
inlineprotected |
Definition at line 107 of file itkPolygonGroupSpatialObject.h.
bool itk::PolygonGroupSpatialObject< TDimension >::AddStrand | ( | PolygonSpatialObject< TDimension > * | toAdd | ) |
Return true if the given PolygonSpatialObject is successfully added to the PolygonGroup.
|
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::GroupSpatialObject< TDimension >.
bool itk::PolygonGroupSpatialObject< TDimension >::DeleteStrand | ( | PolygonSpatialObject< TDimension > * | toDelete | ) |
Return true if the given PolygonSpatialObject is successfully removed from the PolygonGroup
|
virtual |
Method for creation through the object factory.
Reimplemented from itk::GroupSpatialObject< TDimension >.
bool itk::PolygonGroupSpatialObject< TDimension >::IsClosed | ( | ) |
Return true if all constituent Polygons are closed.
|
virtual |
Test whether a point is inside or outside the object.
double itk::PolygonGroupSpatialObject< TDimension >::MeasureVolume | ( | ) |
Same as Volume, above.
|
static |
Method for creation through the object factory.
Reimplemented from itk::GroupSpatialObject< TDimension >.
unsigned int itk::PolygonGroupSpatialObject< TDimension >::NumberOfStrands | ( | ) |
returns the number of Polygons in this PolygonGroup
|
protected |
Reimplemented from itk::GroupSpatialObject< TDimension >.
bool itk::PolygonGroupSpatialObject< TDimension >::ReplaceStrand | ( | PolygonSpatialObject< TDimension > * | toReplace, |
PolygonSpatialObject< TDimension > * | replacement | ||
) |
Return true if the given PolygonSpatialObject successfully replaces the Polygon given in toReplace. This will fail if toReplace is not a strand in the PolygonGroupObject.
double itk::PolygonGroupSpatialObject< TDimension >::Volume | ( | ) |
Volume of this PolygonGroup, which is the sum of the volume of all its constituent Polygons