#include "InterfaceNode.h"
#include "InterfaceGeometry.h"
#include "InterfaceBitMap.h"
#include "InterfaceProperty.h"
#include "InterfaceFrame.h"
#include "AbortException.h"
#include <QPixmap>
#include <QMenu>
#include <QVector>
#include <CamiTKDisableWarnings>
#include <vtkWindowLevelLookupTable.h>
#include <vtkActor.h>
#include <vtkAxesActor.h>
#include <vtkImageActor.h>
#include <CamiTKReEnableWarnings>
#include <vtkImageData.h>
#include <vtkPointSet.h>
#include <vtkSmartPointer.h>
#include <vtkAlgorithmOutput.h>
#include <vtkActor2D.h>
#include <vtkTransform.h>
Go to the source code of this file.
Classes | |
class | camitk::Component |
A Component represents something that could be included in the explorer view, the interactive 3D viewer, and that could have or not a contextual popup menu (open by a right click in the explorer), a property dialog (to change some properties) Thus, a Component inherits from many abstract classes. A Component can only have one implemented representation. More... | |
Namespaces | |
camitk | |
Macros | |
#define | delegate0(HANDLER, METHOD) |
delegate macros: completely delegates METHOD to HANDLER, eventually using parameters of given PARAM_TYPE. More... | |
#define | delegate1(HANDLER, METHOD, PARAM_TYPE) |
#define | delegate2(HANDLER, METHOD, PARAM_TYPE1, PARAM_TYPE2) |
#define | delegate3(HANDLER, METHOD, PARAM_TYPE1, PARAM_TYPE2, PARAM_TYPE3) |
#define | delegate4(HANDLER, METHOD, PARAM_TYPE1, PARAM_TYPE2, PARAM_TYPE3, PARAM_TYPE4) |
#define | delegateAndInvokeChildren1(HANDLER, METHOD, PARAM_TYPE) |
delegateAndInvokeChildren macros: Same as delegate but also calls METHOD, eventually with PARAM_TYPE, for all the childrenComponent. More... | |
#define | delegateAndInvokeChildren1Array(HANDLER, METHOD, PARAM_TYPE1, PARAM_TYPE2, DIM) |
#define | delegateAndInvokeChildren2(HANDLER, METHOD, PARAM_TYPE1, PARAM_TYPE2) |
#define | delegateAndInvokeChildren3(HANDLER, METHOD, PARAM_TYPE1, PARAM_TYPE2, PARAM_TYPE3) |
#define | delegateAndInvokeChildren4(HANDLER, METHOD, PARAM_TYPE1, PARAM_TYPE2, PARAM_TYPE3, PARAM_TYPE4) |
#define | delegateConstGet0(HANDLER, METHOD, TYPE) |
delegateConstGet macros: Same as delegateGet but for const METHOD More... | |
#define | delegateConstGet1(HANDLER, METHOD, TYPE, PARAM_TYPE) |
#define | delegateGet0(HANDLER, METHOD, TYPE) |
delegateGet macros: Same as delegate macro but for an accessor non-const METHOD, returns a value of type TYPE given by HANDLER; eventually as a PARAM_TYPE parameter. More... | |
#define | delegateGet1(HANDLER, METHOD, TYPE, PARAM_TYPE) |
#define | delegateGet2(HANDLER, METHOD, TYPE, PARAM1_TYPE, PARAM2_TYPE) |
#define | invoke0(HANDLER, METHOD) |
invoke macros: Check the HANDLER pointer and if non-null call its METHOD, eventually using PARAMeters More... | |
#define | invoke1(HANDLER, METHOD, PARAM) |
#define | invoke2(HANDLER, METHOD, PARAM1, PARAM2) |
#define | invoke3(HANDLER, METHOD, PARAM1, PARAM2, PARAM3) |
#define | invoke4(HANDLER, METHOD, PARAM1, PARAM2, PARAM3, PARAM4) |
#define | invokeChildren0(METHOD) |
invokeChildren macros: Call a given METHOD eventually with PARAM for all childrenComponent More... | |
#define | invokeChildren1(METHOD, PARAM) |
#define | invokeChildren2(METHOD, PARAM1, PARAM2) |
#define | invokeChildren3(METHOD, PARAM1, PARAM2, PARAM3) |
#define | invokeChildren4(METHOD, PARAM1, PARAM2, PARAM3, PARAM4) |
#define | invokeGet0(HANDLER, METHOD) |
invokeGet macros: Check the HANDLER pointer and if non-null call its METHOD, eventually using PARAMeters More... | |
#define | invokeGet1(HANDLER, METHOD, PARAM) |
#define | invokeGet2(HANDLER, METHOD, PARAM1, PARAM2) |
#define | invokeGet3(HANDLER, METHOD, PARAM1, PARAM2, PARAM3) |
#define | invokeGet4(HANDLER, METHOD, PARAM1, PARAM2, PARAM3, PARAM4) |
#define delegate0 | ( | HANDLER, | |
METHOD | |||
) |
delegate macros: completely delegates METHOD to HANDLER, eventually using parameters of given PARAM_TYPE.
As these macros call the corresponding invoke macros, the non-nullity of HANDLER is always checked before actually calling METHOD.
#define delegate1 | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE | |||
) |
#define delegate2 | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE1, | |||
PARAM_TYPE2 | |||
) |
#define delegate3 | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE1, | |||
PARAM_TYPE2, | |||
PARAM_TYPE3 | |||
) |
#define delegate4 | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE1, | |||
PARAM_TYPE2, | |||
PARAM_TYPE3, | |||
PARAM_TYPE4 | |||
) |
#define delegateAndInvokeChildren1 | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE | |||
) |
delegateAndInvokeChildren macros: Same as delegate but also calls METHOD, eventually with PARAM_TYPE, for all the childrenComponent.
First uses the corresponding invoke macro, then the corresponding invokeChildren macro.
#define delegateAndInvokeChildren1Array | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE1, | |||
PARAM_TYPE2, | |||
DIM | |||
) |
#define delegateAndInvokeChildren2 | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE1, | |||
PARAM_TYPE2 | |||
) |
#define delegateAndInvokeChildren3 | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE1, | |||
PARAM_TYPE2, | |||
PARAM_TYPE3 | |||
) |
#define delegateAndInvokeChildren4 | ( | HANDLER, | |
METHOD, | |||
PARAM_TYPE1, | |||
PARAM_TYPE2, | |||
PARAM_TYPE3, | |||
PARAM_TYPE4 | |||
) |
#define delegateConstGet0 | ( | HANDLER, | |
METHOD, | |||
TYPE | |||
) |
delegateConstGet macros: Same as delegateGet but for const METHOD
#define delegateConstGet1 | ( | HANDLER, | |
METHOD, | |||
TYPE, | |||
PARAM_TYPE | |||
) |
#define delegateGet0 | ( | HANDLER, | |
METHOD, | |||
TYPE | |||
) |
delegateGet macros: Same as delegate macro but for an accessor non-const METHOD, returns a value of type TYPE given by HANDLER; eventually as a PARAM_TYPE parameter.
if HANDLER is NULL, return 0. (which should automatically be converted to false for bool, NULL for pointers...)
#define delegateGet1 | ( | HANDLER, | |
METHOD, | |||
TYPE, | |||
PARAM_TYPE | |||
) |
#define delegateGet2 | ( | HANDLER, | |
METHOD, | |||
TYPE, | |||
PARAM1_TYPE, | |||
PARAM2_TYPE | |||
) |
#define invoke0 | ( | HANDLER, | |
METHOD | |||
) |
invoke macros: Check the HANDLER pointer and if non-null call its METHOD, eventually using PARAMeters
#define invoke1 | ( | HANDLER, | |
METHOD, | |||
PARAM | |||
) |
#define invoke2 | ( | HANDLER, | |
METHOD, | |||
PARAM1, | |||
PARAM2 | |||
) |
#define invoke3 | ( | HANDLER, | |
METHOD, | |||
PARAM1, | |||
PARAM2, | |||
PARAM3 | |||
) |
#define invoke4 | ( | HANDLER, | |
METHOD, | |||
PARAM1, | |||
PARAM2, | |||
PARAM3, | |||
PARAM4 | |||
) |
#define invokeChildren0 | ( | METHOD | ) |
invokeChildren macros: Call a given METHOD eventually with PARAM for all childrenComponent
#define invokeChildren1 | ( | METHOD, | |
PARAM | |||
) |
#define invokeChildren2 | ( | METHOD, | |
PARAM1, | |||
PARAM2 | |||
) |
#define invokeChildren3 | ( | METHOD, | |
PARAM1, | |||
PARAM2, | |||
PARAM3 | |||
) |
#define invokeChildren4 | ( | METHOD, | |
PARAM1, | |||
PARAM2, | |||
PARAM3, | |||
PARAM4 | |||
) |
#define invokeGet0 | ( | HANDLER, | |
METHOD | |||
) |
invokeGet macros: Check the HANDLER pointer and if non-null call its METHOD, eventually using PARAMeters
#define invokeGet1 | ( | HANDLER, | |
METHOD, | |||
PARAM | |||
) |
#define invokeGet2 | ( | HANDLER, | |
METHOD, | |||
PARAM1, | |||
PARAM2 | |||
) |
#define invokeGet3 | ( | HANDLER, | |
METHOD, | |||
PARAM1, | |||
PARAM2, | |||
PARAM3 | |||
) |
#define invokeGet4 | ( | HANDLER, | |
METHOD, | |||
PARAM1, | |||
PARAM2, | |||
PARAM3, | |||
PARAM4 | |||
) |