#include <igtlImageMetaMessage.h>
A class to manage meta data of images.
Definition at line 32 of file igtlImageMetaMessage.h.
igtl::ImageMetaElement::ImageMetaElement |
( |
| ) |
|
|
protected |
igtl::ImageMetaElement::~ImageMetaElement |
( |
| ) |
|
|
protected |
static void igtl::LightObject::BreakOnError |
( |
| ) |
|
|
staticinherited |
This method is called when igtlExceptionMacro executes. It allows the debugger to break on error.
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 igtl::LightObject.
virtual void igtl::Object::DebugOff |
( |
| ) |
const |
|
virtualinherited |
Turn debugging output off.
virtual void igtl::Object::DebugOn |
( |
| ) |
const |
|
virtualinherited |
Turn debugging output on.
virtual void igtl::LightObject::Delete |
( |
| ) |
|
|
virtualinherited |
Delete an igtl object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.
bool igtl::Object::GetDebug |
( |
| ) |
const |
|
inherited |
Get the value of the debug flag.
const char* igtl::ImageMetaElement::GetDeviceName |
( |
| ) |
|
|
inline |
static bool igtl::Object::GetGlobalWarningDisplay |
( |
| ) |
|
|
staticinherited |
This is a global flag that controls whether any debug, warning or error messages are displayed.
const char* igtl::ImageMetaElement::GetModality |
( |
| ) |
|
|
inline |
const char* igtl::ImageMetaElement::GetName |
( |
| ) |
|
|
inline |
virtual const char* igtl::LightObject::GetNameOfClass |
( |
| ) |
const |
|
inlinevirtualinherited |
Return the name of this class as a string. Used by the object factory (implemented in New()) to instantiate objects of a named type. Also used for debugging and other output information.
Definition at line 84 of file igtlLightObject.h.
const char* igtl::ImageMetaElement::GetPatientID |
( |
| ) |
|
|
inline |
const char* igtl::ImageMetaElement::GetPatientName |
( |
| ) |
|
|
inline |
virtual int igtl::LightObject::GetReferenceCount |
( |
| ) |
const |
|
inlinevirtualinherited |
igtlUint8 igtl::ImageMetaElement::GetScalarType |
( |
| ) |
|
Gets the scalar type of the image.
void igtl::ImageMetaElement::GetSize |
( |
igtlUint16 * |
size | ) |
|
Gets the size of the image using an array containing the numbers of voxels in i, j, and k directions.
void igtl::ImageMetaElement::GetSize |
( |
igtlUint16 & |
si, |
|
|
igtlUint16 & |
sj, |
|
|
igtlUint16 & |
sk |
|
) |
| |
Gets the size of the image by the numbers of voxels in i, j, and k directions.
Gets the scan time for the image.
static void igtl::Object::GlobalWarningDisplayOff |
( |
| ) |
|
|
inlinestaticinherited |
static void igtl::Object::GlobalWarningDisplayOn |
( |
| ) |
|
|
inlinestaticinherited |
Standard part of all igtl objects.
static Pointer igtl::Object::New |
( |
| ) |
|
|
staticinherited |
Method for creation through the object factory.
void igtl::LightObject::Print |
( |
std::ostream & |
os | ) |
const |
|
inherited |
Cause the object to print itself out.
virtual void igtl::LightObject::PrintHeader |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtualinherited |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
virtual void igtl::Object::PrintSelf |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtualinherited |
virtual void igtl::LightObject::PrintTrailer |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtualinherited |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
virtual void igtl::Object::Register |
( |
| ) |
const |
|
virtualinherited |
Return this objects modified time. Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. Increase the reference count (mark as used by another object).
Reimplemented from igtl::LightObject.
void igtl::Object::SetDebug |
( |
bool |
debugFlag | ) |
const |
|
inherited |
Set the value of the debug flag. A non-zero value turns debugging on.
int igtl::ImageMetaElement::SetDeviceName |
( |
const char * |
devname | ) |
|
Sets the device name (message name). The string 'devname' must not exceed 20 characters.
static void igtl::Object::SetGlobalWarningDisplay |
( |
bool |
flag | ) |
|
|
staticinherited |
int igtl::ImageMetaElement::SetModality |
( |
const char * |
modality | ) |
|
Sets the name of the image modality (e.g. CT, MRI). The string 'modality' must not exceed 32 characters.
int igtl::ImageMetaElement::SetName |
( |
const char * |
name | ) |
|
Sets the image name/description. The string 'name' must not exceed 64 characters.
int igtl::ImageMetaElement::SetPatientID |
( |
const char * |
patid | ) |
|
Sets the patient ID. The string 'patid' must not exceed 64 characters.
int igtl::ImageMetaElement::SetPatientName |
( |
const char * |
patname | ) |
|
Sets the patient name. The string 'patname' must not exceed 64 characters.
virtual void igtl::Object::SetReferenceCount |
( |
int |
| ) |
|
|
virtualinherited |
void igtl::ImageMetaElement::SetScalarType |
( |
igtlUint8 |
type | ) |
|
Sets the scalar type of the image.
void igtl::ImageMetaElement::SetSize |
( |
igtlUint16 |
size[3] | ) |
|
Sets the size of the image by an array containing the numbers of voxels in i, j, and k directions.
void igtl::ImageMetaElement::SetSize |
( |
igtlUint16 |
si, |
|
|
igtlUint16 |
sj, |
|
|
igtlUint16 |
sk |
|
) |
| |
Sets the size of the image by the numbers of voxels in i, j, and k directions.
Sets the scan time for the image.
virtual void igtl::Object::UnRegister |
( |
| ) |
const |
|
virtualinherited |
Decrease the reference count (release by another object).
Reimplemented from igtl::LightObject.
std::string igtl::ImageMetaElement::m_DeviceName |
|
protected |
std::string igtl::ImageMetaElement::m_Modality |
|
protected |
std::string igtl::ImageMetaElement::m_Name |
|
protected |
std::string igtl::ImageMetaElement::m_PatientID |
|
protected |
std::string igtl::ImageMetaElement::m_PatientName |
|
protected |
volatile int igtl::LightObject::m_ReferenceCount |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
Mutex lock to protect modification to the reference count
Definition at line 134 of file igtlLightObject.h.
igtlUint8 igtl::ImageMetaElement::m_ScalarType |
|
protected |
igtlUint16 igtl::ImageMetaElement::m_Size[3] |
|
protected |
The documentation for this class was generated from the following file: