#include <igtlPolyDataMessage.h>
|
int | AddPoint (igtlFloat32 *point) |
|
int | AddPoint (igtlFloat32 x, igtlFloat32 y, igtlFloat32 z) |
|
void | Clear () |
|
virtual LightObject::Pointer | CreateAnother () const |
|
virtual void | DebugOff () const |
|
virtual void | DebugOn () const |
|
virtual void | Delete () |
|
bool | GetDebug () const |
|
virtual const char * | GetNameOfClass () const |
|
int | GetNumberOfPoints () |
|
int | GetPoint (unsigned int id, igtlFloat32 &x, igtlFloat32 &y, igtlFloat32 &z) |
|
int | GetPoint (unsigned int id, igtlFloat32 *point) |
|
virtual int | GetReferenceCount () const |
|
| igtlNewMacro (igtl::PolyDataPointArray) |
|
| igtlTypeMacro (igtl::PolyDataPointArray, igtl::Object) |
|
| igtlTypeMacro (Object, LightObject) |
|
void | Print (std::ostream &os) const |
|
virtual void | Register () const |
|
void | SetDebug (bool debugFlag) const |
|
void | SetNumberOfPoints (int n) |
|
int | SetPoint (unsigned int id, igtlFloat32 *point) |
|
int | SetPoint (unsigned int id, igtlFloat32 x, igtlFloat32 y, igtlFloat32 z) |
|
virtual void | SetReferenceCount (int) |
|
virtual void | UnRegister () const |
|
Definition at line 52 of file igtlPolyDataMessage.h.
◆ ConstPointer
◆ Point
◆ Pointer
◆ Self
◆ Superclass
◆ PolyDataPointArray()
igtl::PolyDataPointArray::PolyDataPointArray |
( |
| ) |
|
|
protected |
◆ ~PolyDataPointArray()
igtl::PolyDataPointArray::~PolyDataPointArray |
( |
| ) |
|
|
protected |
◆ AddPoint() [1/2]
int igtl::PolyDataPointArray::AddPoint |
( |
igtlFloat32 * |
point | ) |
|
Adds a point specified by 'point' to the list. The 'point' contains the x, y, and z coordinates of the point.
◆ AddPoint() [2/2]
int igtl::PolyDataPointArray::AddPoint |
( |
igtlFloat32 |
x, |
|
|
igtlFloat32 |
y, |
|
|
igtlFloat32 |
z |
|
) |
| |
Adds a point 'point' specified by 'x', 'y' and 'z'.
◆ BreakOnError()
static void igtl::LightObject::BreakOnError |
( |
| ) |
|
|
staticinherited |
This method is called when igtlExceptionMacro executes. It allows the debugger to break on error.
◆ Clear()
void igtl::PolyDataPointArray::Clear |
( |
| ) |
|
Clears the all points in the list.
◆ 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 |
This is a global flag that controls whether any debug, warning or error messages are displayed.
◆ 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.
◆ GetNumberOfPoints()
int igtl::PolyDataPointArray::GetNumberOfPoints |
( |
| ) |
|
Gets the number of points in the list.
◆ GetPoint() [1/2]
int igtl::PolyDataPointArray::GetPoint |
( |
unsigned int |
id, |
|
|
igtlFloat32 & |
x, |
|
|
igtlFloat32 & |
y, |
|
|
igtlFloat32 & |
z |
|
) |
| |
Gets the coordinates of the point specified by 'id'.
◆ GetPoint() [2/2]
int igtl::PolyDataPointArray::GetPoint |
( |
unsigned int |
id, |
|
|
igtlFloat32 * |
point |
|
) |
| |
Gets the coordinates of the point specified by 'id'.
◆ GetReferenceCount()
virtual int igtl::LightObject::GetReferenceCount |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ 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 |
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.
◆ PrintSelf()
virtual void igtl::Object::PrintSelf |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtualinherited |
◆ PrintTrailer()
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.
◆ 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 |
◆ SetNumberOfPoints()
void igtl::PolyDataPointArray::SetNumberOfPoints |
( |
int |
n | ) |
|
Sets the number of points. This function will change the size of the list.
◆ SetPoint() [1/2]
int igtl::PolyDataPointArray::SetPoint |
( |
unsigned int |
id, |
|
|
igtlFloat32 * |
point |
|
) |
| |
Substitutes the point specified by 'id' with a point specified by 'point'. The 'point' contains the x, y, and z coordinates of the point.
◆ SetPoint() [2/2]
int igtl::PolyDataPointArray::SetPoint |
( |
unsigned int |
id, |
|
|
igtlFloat32 |
x, |
|
|
igtlFloat32 |
y, |
|
|
igtlFloat32 |
z |
|
) |
| |
Substitutes the point specified by 'id' with a point specified by 'x', 'y' and 'z'.
◆ SetReferenceCount()
virtual void igtl::Object::SetReferenceCount |
( |
int |
| ) |
|
|
virtualinherited |
◆ UnRegister()
virtual void igtl::Object::UnRegister |
( |
| ) |
const |
|
virtualinherited |
Decrease the reference count (release by another object).
Reimplemented from igtl::LightObject.
◆ 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.
The documentation for this class was generated from the following file: