#include <igtlPointMessage.h>
|
virtual LightObject::Pointer | CreateAnother () const |
|
virtual void | DebugOff () const |
|
virtual void | DebugOn () const |
|
virtual void | Delete () |
|
bool | GetDebug () const |
|
const char * | GetGroupName () |
|
const char * | GetName () |
|
virtual const char * | GetNameOfClass () const |
|
const char * | GetOwner () |
|
void | GetPosition (igtlFloat32 &x, igtlFloat32 &y, igtlFloat32 &z) |
|
void | GetPosition (igtlFloat32 *position) |
|
igtlFloat32 | GetRadius () |
|
virtual int | GetReferenceCount () const |
|
void | GetRGBA (igtlUint8 &r, igtlUint8 &g, igtlUint8 &b, igtlUint8 &a) |
|
void | GetRGBA (igtlUint8 *rgba) |
|
| igtlNewMacro (igtl::PointElement) |
|
| igtlTypeMacro (igtl::PointElement, igtl::Object) |
|
| igtlTypeMacro (Object, LightObject) |
|
void | Print (std::ostream &os) const |
|
virtual void | Register () const |
|
void | SetDebug (bool debugFlag) const |
|
int | SetGroupName (const char *grpname) |
|
int | SetName (const char *name) |
|
int | SetOwner (const char *owner) |
|
void | SetPosition (igtlFloat32 position[3]) |
|
void | SetPosition (igtlFloat32 x, igtlFloat32 y, igtlFloat32 z) |
|
void | SetRadius (igtlFloat32 radius) |
|
virtual void | SetReferenceCount (int) |
|
void | SetRGBA (igtlUint8 r, igtlUint8 g, igtlUint8 b, igtlUint8 a) |
|
void | SetRGBA (igtlUint8 rgba[4]) |
|
virtual void | UnRegister () const |
|
A class to manage point information.
Definition at line 33 of file igtlPointMessage.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ PointElement()
igtl::PointElement::PointElement |
( |
| ) |
|
|
protected |
◆ ~PointElement()
igtl::PointElement::~PointElement |
( |
| ) |
|
|
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.
◆ 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.
◆ GetGroupName()
const char* igtl::PointElement::GetGroupName |
( |
| ) |
|
|
inline |
◆ GetName()
const char* igtl::PointElement::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::PointElement::GetOwner |
( |
| ) |
|
|
inline |
Gets the name of the image that owns this label map.
Definition at line 92 of file igtlPointMessage.h.
◆ GetPosition() [1/2]
void igtl::PointElement::GetPosition |
( |
igtlFloat32 & |
x, |
|
|
igtlFloat32 & |
y, |
|
|
igtlFloat32 & |
z |
|
) |
| |
Gets the position of the point using x, y and z coordinates.
◆ GetPosition() [2/2]
void igtl::PointElement::GetPosition |
( |
igtlFloat32 * |
position | ) |
|
Gets the position of the point using an array of x, y and z coordinates.
◆ GetRadius()
igtlFloat32 igtl::PointElement::GetRadius |
( |
| ) |
|
|
inline |
◆ GetReferenceCount()
virtual int igtl::LightObject::GetReferenceCount |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ GetRGBA() [1/2]
void igtl::PointElement::GetRGBA |
( |
igtlUint8 & |
r, |
|
|
igtlUint8 & |
g, |
|
|
igtlUint8 & |
b, |
|
|
igtlUint8 & |
a |
|
) |
| |
Gets the color of the point using values of R, G, B and A.
◆ GetRGBA() [2/2]
void igtl::PointElement::GetRGBA |
( |
igtlUint8 * |
rgba | ) |
|
Gets the color of the point using an array of R, G, B and A.
◆ 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.
◆ SetGlobalWarningDisplay()
static void igtl::Object::SetGlobalWarningDisplay |
( |
bool |
flag | ) |
|
|
staticinherited |
◆ SetGroupName()
int igtl::PointElement::SetGroupName |
( |
const char * |
grpname | ) |
|
Sets the group name e.g. "Labeled Point", "Landmark", "Fiducial", etc.
◆ SetName()
int igtl::PointElement::SetName |
( |
const char * |
name | ) |
|
Sets the name/description of the point. The string 'name' must not exceed 64 characters.
◆ SetOwner()
int igtl::PointElement::SetOwner |
( |
const char * |
owner | ) |
|
Sets the name of the image that owns this label map.
◆ SetPosition() [1/2]
void igtl::PointElement::SetPosition |
( |
igtlFloat32 |
position[3] | ) |
|
Sets the position of the point by an array of x, y and z coordinates.
◆ SetPosition() [2/2]
void igtl::PointElement::SetPosition |
( |
igtlFloat32 |
x, |
|
|
igtlFloat32 |
y, |
|
|
igtlFloat32 |
z |
|
) |
| |
Sets the position of the point by x, y and z coordinates.
◆ SetRadius()
void igtl::PointElement::SetRadius |
( |
igtlFloat32 |
radius | ) |
|
|
inline |
◆ SetReferenceCount()
virtual void igtl::Object::SetReferenceCount |
( |
int |
| ) |
|
|
virtualinherited |
◆ SetRGBA() [1/2]
void igtl::PointElement::SetRGBA |
( |
igtlUint8 |
r, |
|
|
igtlUint8 |
g, |
|
|
igtlUint8 |
b, |
|
|
igtlUint8 |
a |
|
) |
| |
Sets the color of the point specified by values of R, G, B and A.
◆ SetRGBA() [2/2]
void igtl::PointElement::SetRGBA |
( |
igtlUint8 |
rgba[4] | ) |
|
Sets the color of the point specified by an array of R, G, B and A.
◆ UnRegister()
virtual void igtl::Object::UnRegister |
( |
| ) |
const |
|
virtualinherited |
Decrease the reference count (release by another object).
Reimplemented from igtl::LightObject.
◆ m_GroupName
std::string igtl::PointElement::m_GroupName |
|
protected |
◆ m_Name
std::string igtl::PointElement::m_Name |
|
protected |
◆ m_Owner
std::string igtl::PointElement::m_Owner |
|
protected |
◆ m_Position
igtlFloat32 igtl::PointElement::m_Position[3] |
|
protected |
◆ m_Radius
igtlFloat32 igtl::PointElement::m_Radius |
|
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::PointElement::m_RGBA[4] |
|
protected |
The documentation for this class was generated from the following file: