GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros
vtkViewImage2DCollection.h File Reference
#include "vtkCollection.h"
#include "vtkCommand.h"
#include "vtkViewImage2D.h"
#include "MegaVTK2Configure.h"
#include <vector>
Include dependency graph for vtkViewImage2DCollection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkViewImage2DCollection
 Manage a collection of 2D views. More...
 

Macros

#define vtkSyncSetMacro(name, type, base)
 
#define vtkSyncSetObjectMacro(name, type, base)
 ETX. More...
 

Macro Definition Documentation

#define vtkSyncSetMacro (   name,
  type,
  base 
)
Value:
virtual void SyncSet ## name (type _arg) \
{ \
this->InitTraversal(); \
base *item = this->GetNextItem(); \
while ( item ) \
{ \
item->Set ## name (_arg); \
item = this->GetNextItem(); \
} \
}

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 86 of file vtkViewImage2DCollection.h.

#define vtkSyncSetObjectMacro (   name,
  type,
  base 
)
Value:
virtual void SyncSet ## name (type * _arg) \
{ \
this->InitTraversal(); \
base *item = this->GetNextItem(); \
while ( item ) \
{ \
item->Set ## name (_arg); \
item = this->GetNextItem(); \
} \
}

ETX.

BTX

Definition at line 100 of file vtkViewImage2DCollection.h.