Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions

ctkVTKConnection Class Reference

#include <Libs/Visualization/VTK/Core/ctkVTKConnection.h>

List of all members.

Public Types

typedef QObject Superclass

Public Slots

void deleteConnection ()

Signals

void emitExecute (vtkObject *caller, vtkObject *call_data)
void emitExecute (vtkObject *caller, void *call_data, unsigned long vtk_event, void *client_data)

Public Member Functions

 ctkVTKConnection (QObject *parent)
QString id () const
bool isBlocked () const
bool isEnabled () const
bool isEqual (vtkObject *vtk_obj, unsigned long vtk_event, const QObject *qt_obj, QString qt_slot) const
virtual void printAdditionalInfo ()
void setBlocked (bool block)
void setEnabled (bool enable)
void SetParameters (vtkObject *vtk_obj, unsigned long vtk_event, const QObject *qt_obj, QString qt_slot, float priority)
QString shortDescription ()

Static Public Member Functions

static QString shortDescription (vtkObject *vtk_obj, unsigned long vtk_event, const QObject *qt_obj, QString qt_slot="")
static bool ValidateParameters (vtkObject *vtk_obj, unsigned long vtk_event, const QObject *qt_obj, QString qt_slot)

Protected Member Functions

virtual ~ctkVTKConnection ()

Detailed Description

Definition at line 36 of file ctkVTKConnection.h.


Member Typedef Documentation

Definition at line 41 of file ctkVTKConnection.h.


Constructor & Destructor Documentation

ctkVTKConnection::ctkVTKConnection ( QObject *  parent  )  [explicit]

Definition at line 204 of file ctkVTKConnection.cpp.

ctkVTKConnection::~ctkVTKConnection (  )  [protected, virtual]

Definition at line 211 of file ctkVTKConnection.cpp.


Member Function Documentation

void ctkVTKConnection::deleteConnection (  )  [slot]

Safe deletion

Definition at line 439 of file ctkVTKConnection.cpp.

void ctkVTKConnection::emitExecute ( vtkObject *  caller,
vtkObject *  call_data 
) [signal]

The qt signal emited by the VTK Callback The signal corresponding to the slot will be emited

void ctkVTKConnection::emitExecute ( vtkObject *  caller,
void *  call_data,
unsigned long  vtk_event,
void *  client_data 
) [signal]

Note: even if the signal has a signature with 4 args, you can connect it to a slot with less arguments as long as the types of the argument are matching: connect(obj1,SIGNAL(signalFunc(A,B,C,D)),obj2,SLOT(slotFunc(A)));

QString ctkVTKConnection::id (  )  const

Return a string uniquely identifying the connection within the current process

bool ctkVTKConnection::isBlocked (  )  const

Definition at line 340 of file ctkVTKConnection.cpp.

bool ctkVTKConnection::isEnabled (  )  const

Definition at line 326 of file ctkVTKConnection.cpp.

bool ctkVTKConnection::isEqual ( vtkObject *  vtk_obj,
unsigned long  vtk_event,
const QObject *  qt_obj,
QString  qt_slot 
) const

Definition at line 347 of file ctkVTKConnection.cpp.

void ctkVTKConnection::printAdditionalInfo (  )  [virtual]

Definition at line 220 of file ctkVTKConnection.cpp.

void ctkVTKConnection::setBlocked ( bool  block  ) 

Temporarilly block any signals/slots. If the event is fired, the slot won't be called. You can restore the connection by calling SetBlocked with block = false.

Definition at line 333 of file ctkVTKConnection.cpp.

void ctkVTKConnection::setEnabled ( bool  enable  ) 

Actually do the connection. Parameters must have been set prior to it Disconnecting (enable = false) removes the connection.

Definition at line 306 of file ctkVTKConnection.cpp.

void ctkVTKConnection::SetParameters ( vtkObject *  vtk_obj,
unsigned long  vtk_event,
const QObject *  qt_obj,
QString  qt_slot,
float  priority 
)

Definition at line 279 of file ctkVTKConnection.cpp.

QString ctkVTKConnection::shortDescription (  ) 

Definition at line 240 of file ctkVTKConnection.cpp.

QString ctkVTKConnection::shortDescription ( vtkObject *  vtk_obj,
unsigned long  vtk_event,
const QObject *  qt_obj,
QString  qt_slot = "" 
) [static]

Definition at line 248 of file ctkVTKConnection.cpp.

bool ctkVTKConnection::ValidateParameters ( vtkObject *  vtk_obj,
unsigned long  vtk_event,
const QObject *  qt_obj,
QString  qt_slot 
) [static]

Check the validity of the parameters. Parameters must be valid to add a connection

Definition at line 259 of file ctkVTKConnection.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines