22 #ifndef vtkViewLayout_h
23 #define vtkViewLayout_h
28 #include "vtkRemotingViewsModule.h"
34 class vtkViewLayoutProp;
49 void ShowOnTileDisplay();
55 void RemoveAllViews();
56 void AddView(
vtkPVView*,
const double* viewport);
64 bool SaveAsPNG(
int rank,
const char* fname);
73 vtkSetVector3Macro(SeparatorColor,
double);
74 vtkGetVector3Macro(SeparatorColor,
double);
82 vtkSetClampMacro(SeparatorWidth,
int, 0, VTK_INT_MAX);
83 vtkGetMacro(SeparatorWidth,
int);
92 RequestUpdateLayoutEvent = vtkCommand::UserEvent + 1,
109 vtkSetVector2Macro(TileDimensions,
int);
110 vtkGetVector2Macro(TileDimensions,
int);
118 vtkSetVector2Macro(TileMullions,
int);
119 vtkGetVector2Macro(TileMullions,
int);
122 void UpdateLayout(
vtkObject*,
unsigned long,
void*);
126 void UpdateDisplay(
vtkObject*,
unsigned long,
void*);
133 bool NeedsActiveStereo()
const;
140 std::unique_ptr<vtkInternals> Internals;
144 int TileDimensions[2];
149 double SeparatorColor[3];
151 friend class vtkViewLayoutProp;