CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | List of all members
ctkTestWrappedVTKQInvokable Class Reference

#include <Applications/ctkSimplePythonShell/ctkTestWrappedVTKQInvokable.h>

Inheritance diagram for ctkTestWrappedVTKQInvokable:
Inheritance graph
[legend]
Collaboration diagram for ctkTestWrappedVTKQInvokable:
Collaboration graph
[legend]

Public Member Functions

 ctkTestWrappedVTKQInvokable (QObject *newParent=0)
 
Q_INVOKABLE vtkTable * getTable () const
 
Q_INVOKABLE void setTable (vtkTable *newTable)
 Example of 'invokable' accepting a VTK object as parameter. More...
 
virtual ~ctkTestWrappedVTKQInvokable ()
 

Detailed Description

Definition at line 31 of file ctkTestWrappedVTKQInvokable.h.

Constructor & Destructor Documentation

◆ ctkTestWrappedVTKQInvokable()

ctkTestWrappedVTKQInvokable::ctkTestWrappedVTKQInvokable ( QObject *  newParent = 0)
inline

Definition at line 36 of file ctkTestWrappedVTKQInvokable.h.

◆ ~ctkTestWrappedVTKQInvokable()

virtual ctkTestWrappedVTKQInvokable::~ctkTestWrappedVTKQInvokable ( )
inlinevirtual

Definition at line 41 of file ctkTestWrappedVTKQInvokable.h.

Member Function Documentation

◆ getTable()

Q_INVOKABLE vtkTable* ctkTestWrappedVTKQInvokable::getTable ( ) const
inline

Example of 'invokable' returning a VTK object Declaring a method as invokable allows to add it to the MetaObject system

Note
When a method returns a value, we tend to use Q_INVOKABLE instead of declaring a slot.

Definition at line 49 of file ctkTestWrappedVTKQInvokable.h.

◆ setTable()

Q_INVOKABLE void ctkTestWrappedVTKQInvokable::setTable ( vtkTable *  newTable)
inline

Example of 'invokable' accepting a VTK object as parameter.

Definition at line 55 of file ctkTestWrappedVTKQInvokable.h.


The documentation for this class was generated from the following file: