GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros
vtkViewImage.h File Reference
#include "MegaVTK2Configure.h"
#include "vtkImageViewer2.h"
#include <vtkRenderer.h>
#include <vtkTextProperty.h>
#include <vtkCornerAnnotation.h>
#include <vtkActor.h>
#include <vtkDataSet.h>
#include <vector>
Include dependency graph for vtkViewImage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkViewImage
 This class is a top-level convenience class for displaying a scalar - or RGB image in a 2D or 3D scene. More...
 

Macros

#define vtkSetObjectMacro2(object, type)
 
#define vtkSetObjectMacro2Body(object, type, _arg)
 

Macro Definition Documentation

#define vtkSetObjectMacro2 (   object,
  type 
)
Value:
virtual void Set ## object (type * _arg) \
{ \
vtkSetObjectMacro2Body (object, type, _arg); \
} \
#define vtkSetObjectMacro2Body(object, type, _arg)
Definition: vtkViewImage.h:89

This macro can be useful as we frequently set an instance this way, meaning unregistering previously set instance, registering given instance, and call a modified event. However this might be not the best place to define it...

Definition at line 112 of file vtkViewImage.h.

#define vtkSetObjectMacro2Body (   object,
  type,
  _arg 
)
Value:
if ( this->object == _arg ) { return; } \
if ( this->object ) \
{ \
this->object->UnRegister(this); \
} \
this->object = _arg; \
\
if ( this->object != NULL ) \
{ \
this->object->Register(this); \
} \
\
this->Modified(); \

This macro can be useful as we frequently set an instance this way, meaning unregistering previously set instance, registering given instance, and call a modified event. However this might be not the best place to define it...

Definition at line 89 of file vtkViewImage.h.