IGSTK
|
Represents an Ultrasound Image Object in physical space. More...
#include <igstkUSImageObject.h>
Public Types | |
typedef ImageSpatialObject < unsigned char, 3 > | SuperclassType |
Typedef for the superclass. More... | |
typedef SuperclassType::ImageType | ImageType |
![]() | |
typedef ImageType::ConstPointer | ImageConstPointer |
typedef ImageSpatialObjectType::PointType | PointType |
typedef ImageType::IndexType | IndexType |
typedef itk::ContinuousIndex < double, 3 > | ContinuousIndexType |
![]() | |
typedef Object | Self |
General Typedefs. More... | |
typedef ::itk::Object | Superclass |
typedef ::itk::SmartPointer< Self > | Pointer |
typedef ::itk::SmartPointer < const Self > | ConstPointer |
typedef igstk::Logger | LoggerType |
Public Member Functions | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print the object information in a stream. More... | |
![]() | |
virtual bool | IsInside (const PointType &point) const |
Test whether a point is inside or outside the object. More... | |
virtual void | TransformIndexToPhysicalPoint (const IndexType &index, PointType &point) const |
Transform index to physical point. More... | |
virtual bool | TransformPhysicalPointToIndex (const PointType &point, IndexType &index) const |
Transform physical point to index. More... | |
virtual bool | TransformPhysicalPointToContinuousIndex (const PointType &point, ContinuousIndexType &index) const |
Transform physical point to index. More... | |
virtual bool | IsEmpty () const |
Returns wheter the image have any pixels allocated or not. More... | |
void | RequestGetITKImage () |
The ImageReaderToImageSpatialObject class is declared as a friend in order to be able to set the input image. More... | |
void | RequestGetITKImage () const |
void | RequestGetVTKImage () |
Request to get the VTK image as a const pointer payload into an event. More... | |
void | RequestGetVTKImage () const |
void | RequestGetImageExtent () |
Request to get the VTK image extent as a const pointer payload into an event. More... | |
void | RequestGetImageExtent () const |
void | RequestGetImageTransform () |
Request to get the image transform. More... | |
void | RequestGetImageTransform () const |
igstkLoadedTemplatedConstObjectEventMacro (ITKImageModifiedEvent, IGSTKEvent, ImageType) | |
Event types. More... | |
igstkEventMacro (ImageNotAvailableEvent, IGSTKErrorEvent) | |
void | SetLogger (LoggerType *logger) |
![]() | |
igstkLoadedObjectEventMacro (BoundingBoxEvent, IGSTKEvent, BoundingBoxType) | |
void | RequestGetBounds () |
void | RequestGetBounds () const |
![]() | |
virtual const char * | GetNameOfClass () const |
void | SetLogger (LoggerType *logger) |
Connect the Logger for this class. More... | |
void | RemoveObserver (unsigned long tag) const |
Additional Inherited Members | |
![]() | |
static Pointer | New (void) |
![]() | |
igstkStandardTemplatedClassTraitsMacro(ImageSpatialObject, SpatialObject) public typedef itk::Image< unsigned char, TDimension > | ImageType |
Macro with standard traits declarations. More... | |
![]() | |
igstkStandardClassTraitsMacro(SpatialObject, Object) public typedef SpatialObjectType::BoundingBoxType | BoundingBoxType |
Macro with standard traits declarations. More... | |
![]() | |
virtual bool | IsInternalTransformRequired () |
For coordinate systems, this method lets us indicate that we need to provide an additional transform. More... | |
virtual Transform | GetInternalTransform () const |
For coordinate systems, allows us to hook in the image transform to calls to RequestSetTransformAndParent. More... | |
ImageSpatialObject (void) | |
~ImageSpatialObject (void) | |
LoggerType * | GetLogger () const |
Declarations needed for the Logger. More... | |
![]() | |
SpatialObject (void) | |
The constructor of this class is declared protected to enforce the use of SmartPointers syntax when instantiating objects of this class. More... | |
~SpatialObject (void) | |
The destructor should be overriden in derived classes that allocate memory for member variables. More... | |
void | RequestSetInternalSpatialObject (SpatialObjectType *object) |
Replacement for RequestSetSpatialObject(). More... | |
SpatialObjectType * | GetInternalSpatialObject () const |
Returns the ITK spatial object that is contained inside this IGSTK spatial object. More... | |
![]() | |
LoggerType * | GetLogger () const |
Object (void) | |
Constructor is protected in order to enforce the use of the New() operator. More... | |
virtual | ~Object (void) |
void | RegisterObservedObject (const ::igstk::Object *object, unsigned long tag) |
Register observed objects in an internal array so that they can be disconnected upon destruction. More... | |
void | RemoveFromObservedObjects () |
Remove observers that this object may have connected to other objects. More... | |
Represents an Ultrasound Image Object in physical space.
This class is the data structure used for containing a volumetric US image. The image is usually provided by a USImageReader class, but can also be provided by other sources. Due to the protection of the ITK layer, any other potential source of ITK images must be included in the Friends mechanism.
Definition at line 43 of file igstkUSImageObject.h.
typedef ImageSpatialObject< unsigned char, 3 > igstk::USImageObject::SuperclassType |
Typedef for the superclass.
This is needed because the igstkStandardClassTraitsMacro gets confused with the commas in the template declaration.
Definition at line 52 of file igstkUSImageObject.h.
typedef SuperclassType::ImageType igstk::USImageObject::ImageType |
Definition at line 53 of file igstkUSImageObject.h.
|
virtual |
Print the object information in a stream.
Reimplemented from igstk::ImageSpatialObject< unsigned char, 3 >.