#include <igtlLabelMetaMessage.h>
|
virtual LightObject::Pointer | CreateAnother () const |
|
virtual void | DebugOff () const |
|
virtual void | DebugOn () const |
|
virtual void | Delete () |
|
bool | GetDebug () const |
|
const char * | GetDeviceName () |
|
igtlUint8 | GetLabel () |
|
const char * | GetName () |
|
virtual const char * | GetNameOfClass () const |
|
const char * | GetOwner () |
|
virtual int | GetReferenceCount () const |
|
void | GetRGBA (igtlUint8 &r, igtlUint8 &g, igtlUint8 &b, igtlUint8 &a) |
|
void | GetRGBA (igtlUint8 *rgba) |
|
void | GetSize (igtlUint16 &si, igtlUint16 &sj, igtlUint16 &sk) |
|
void | GetSize (igtlUint16 *size) |
|
| igtlNewMacro (igtl::LabelMetaElement) |
|
| igtlTypeMacro (igtl::LabelMetaElement, igtl::Object) |
|
| igtlTypeMacro (Object, LightObject) |
|
void | Print (std::ostream &os) const |
|
virtual void | Register () const |
|
void | SetDebug (bool debugFlag) const |
|
int | SetDeviceName (const char *devname) |
|
void | SetLabel (igtlUint8 label) |
|
int | SetName (const char *name) |
|
int | SetOwner (const char *owner) |
|
virtual void | SetReferenceCount (int) |
|
void | SetRGBA (igtlUint8 r, igtlUint8 g, igtlUint8 b, igtlUint8 a) |
|
void | SetRGBA (igtlUint8 rgba[4]) |
|
void | SetSize (igtlUint16 si, igtlUint16 sj, igtlUint16 sk) |
|
void | SetSize (igtlUint16 size[3]) |
|
virtual void | UnRegister () const |
|
Definition at line 31 of file igtlLabelMetaMessage.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ LabelMetaElement()
igtl::LabelMetaElement::LabelMetaElement |
( |
| ) |
|
|
protected |
◆ ~LabelMetaElement()
igtl::LabelMetaElement::~LabelMetaElement |
( |
| ) |
|
|
protected |
◆ BreakOnError()
static void igtl::LightObject::BreakOnError |
( |
| ) |
|
|
staticinherited |
This method is called when igtlExceptionMacro executes. It allows the debugger to break on error.
◆ CreateAnother()
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.
◆ DebugOff()
virtual void igtl::Object::DebugOff |
( |
| ) |
const |
|
virtualinherited |
Turn debugging output off.
◆ DebugOn()
virtual void igtl::Object::DebugOn |
( |
| ) |
const |
|
virtualinherited |
Turn debugging output on.
◆ Delete()
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.
◆ GetDebug()
bool igtl::Object::GetDebug |
( |
| ) |
const |
|
inherited |
Get the value of the debug flag.
◆ GetDeviceName()
const char* igtl::LabelMetaElement::GetDeviceName |
( |
| ) |
|
|
inline |
◆ GetGlobalWarningDisplay()
static bool igtl::Object::GetGlobalWarningDisplay |
( |
| ) |
|
|
staticinherited |
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.
◆ GetLabel()
igtlUint8 igtl::LabelMetaElement::GetLabel |
( |
| ) |
|
|
inline |
◆ GetName()
const char* igtl::LabelMetaElement::GetName |
( |
| ) |
|
|
inline |
◆ GetNameOfClass()
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.
◆ GetOwner()
const char* igtl::LabelMetaElement::GetOwner |
( |
| ) |
|
|
inline |
◆ GetReferenceCount()
virtual int igtl::LightObject::GetReferenceCount |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ GetRGBA() [1/2]
void igtl::LabelMetaElement::GetRGBA |
( |
igtlUint8 & |
r, |
|
|
igtlUint8 & |
g, |
|
|
igtlUint8 & |
b, |
|
|
igtlUint8 & |
a |
|
) |
| |
Gets the color of the structure by R, G, B, and A values.
◆ GetRGBA() [2/2]
void igtl::LabelMetaElement::GetRGBA |
( |
igtlUint8 * |
rgba | ) |
|
Gets the color of the structure by an array representing RGBA.
◆ GetSize() [1/2]
void igtl::LabelMetaElement::GetSize |
( |
igtlUint16 & |
si, |
|
|
igtlUint16 & |
sj, |
|
|
igtlUint16 & |
sk |
|
) |
| |
Gets the size of the image by the numbers of voxels in i, j, and k directions.
◆ GetSize() [2/2]
void igtl::LabelMetaElement::GetSize |
( |
igtlUint16 * |
size | ) |
|
Gets the size of the image using an array containing the numbers of voxels in i, j, and k directions.
◆ GlobalWarningDisplayOff()
static void igtl::Object::GlobalWarningDisplayOff |
( |
| ) |
|
|
inlinestaticinherited |
◆ GlobalWarningDisplayOn()
static void igtl::Object::GlobalWarningDisplayOn |
( |
| ) |
|
|
inlinestaticinherited |
◆ igtlNewMacro()
◆ igtlTypeMacro() [1/2]
◆ igtlTypeMacro() [2/2]
Standard part of all igtl objects.
◆ New()
static Pointer igtl::Object::New |
( |
| ) |
|
|
staticinherited |
Method for creation through the object factory.
◆ Print()
void igtl::LightObject::Print |
( |
std::ostream & |
os | ) |
const |
|
inherited |
Cause the object to print itself out.
◆ PrintHeader()
virtual void igtl::LightObject::PrintHeader |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtualinherited |
Number of uses of this object by other objects.
◆ PrintSelf()
virtual void igtl::Object::PrintSelf |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtualinherited |
◆ PrintTrailer()
virtual void igtl::LightObject::PrintTrailer |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtualinherited |
Number of uses of this object by other objects.
◆ Register()
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.
◆ SetDebug()
void igtl::Object::SetDebug |
( |
bool |
debugFlag | ) |
const |
|
inherited |
Set the value of the debug flag. A non-zero value turns debugging on.
◆ SetDeviceName()
int igtl::LabelMetaElement::SetDeviceName |
( |
const char * |
devname | ) |
|
Sets the device name (message name). The string 'devname' must not exceed 20 characters.
◆ SetGlobalWarningDisplay()
static void igtl::Object::SetGlobalWarningDisplay |
( |
bool |
flag | ) |
|
|
staticinherited |
◆ SetLabel()
void igtl::LabelMetaElement::SetLabel |
( |
igtlUint8 |
label | ) |
|
|
inline |
◆ SetName()
int igtl::LabelMetaElement::SetName |
( |
const char * |
name | ) |
|
Sets the image name/description. The string 'name' must not exceed 64 characters.
◆ SetOwner()
int igtl::LabelMetaElement::SetOwner |
( |
const char * |
owner | ) |
|
Sets the name of the image that owns this label map.
◆ SetReferenceCount()
virtual void igtl::Object::SetReferenceCount |
( |
int |
| ) |
|
|
virtualinherited |
◆ SetRGBA() [1/2]
void igtl::LabelMetaElement::SetRGBA |
( |
igtlUint8 |
r, |
|
|
igtlUint8 |
g, |
|
|
igtlUint8 |
b, |
|
|
igtlUint8 |
a |
|
) |
| |
Sets the color of the structure by R, G, B, and A values.
◆ SetRGBA() [2/2]
void igtl::LabelMetaElement::SetRGBA |
( |
igtlUint8 |
rgba[4] | ) |
|
Sets the color of the structure by an array representing RGBA.
◆ SetSize() [1/2]
void igtl::LabelMetaElement::SetSize |
( |
igtlUint16 |
si, |
|
|
igtlUint16 |
sj, |
|
|
igtlUint16 |
sk |
|
) |
| |
Sets the size of the image by the numbers of voxels in i, j, and k directions.
◆ SetSize() [2/2]
void igtl::LabelMetaElement::SetSize |
( |
igtlUint16 |
size[3] | ) |
|
Sets the size of the image by an array containing the numbers of voxels in i, j, and k directions.
◆ UnRegister()
virtual void igtl::Object::UnRegister |
( |
| ) |
const |
|
virtualinherited |
Decrease the reference count (release by another object).
Reimplemented from igtl::LightObject.
◆ m_DeviceName
std::string igtl::LabelMetaElement::m_DeviceName |
|
protected |
◆ m_Label
igtlUint8 igtl::LabelMetaElement::m_Label |
|
protected |
◆ m_Name
std::string igtl::LabelMetaElement::m_Name |
|
protected |
◆ m_Owner
std::string igtl::LabelMetaElement::m_Owner |
|
protected |
◆ m_ReferenceCount
volatile int igtl::LightObject::m_ReferenceCount |
|
mutableprotectedinherited |
◆ m_ReferenceCountLock
|
mutableprotectedinherited |
Mutex lock to protect modification to the reference count
Definition at line 134 of file igtlLightObject.h.
◆ m_RGBA
igtlUint8 igtl::LabelMetaElement::m_RGBA[4] |
|
protected |
◆ m_Size
igtlUint16 igtl::LabelMetaElement::m_Size[3] |
|
protected |
The documentation for this class was generated from the following file: