ParaView
vtkSMMultiSliceViewProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMMultiSliceViewProxy.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkSMMultiSliceViewProxy_h
23 #define vtkSMMultiSliceViewProxy_h
24 
25 #include "vtkPVServerManagerRenderingModule.h" //needed for exports
26 #include "vtkSMRenderViewProxy.h"
27 
28 class vtkSMSourceProxy;
29 
30 class VTKPVSERVERMANAGERRENDERING_EXPORT vtkSMMultiSliceViewProxy : public vtkSMRenderViewProxy
31 {
32 public:
33  static vtkSMMultiSliceViewProxy* New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
41  virtual const char* IsSelectVisiblePointsAvailable();
42 
48  virtual vtkSMRepresentationProxy* CreateDefaultRepresentation(vtkSMProxy* proxy, int outputPort);
49 
53  virtual const char* GetRepresentationType(vtkSMSourceProxy* producer, int outputPort);
54 
60  void GetDataBounds(double bounds[6]);
61 
65  static void ForceRepresentationType(vtkSMProxy* reprProxy, const char* type);
66 
71  static bool GetDataBounds(vtkSMSourceProxy* source, int opport, double bounds[6]);
72 
73 protected:
76 
81  void InitDefaultSlices(vtkSMSourceProxy* source, int opport, vtkSMRepresentationProxy* repr);
82 
83 private:
84  vtkSMMultiSliceViewProxy(const vtkSMMultiSliceViewProxy&) VTK_DELETE_FUNCTION;
85  void operator=(const vtkSMMultiSliceViewProxy&) VTK_DELETE_FUNCTION;
86 
87  class vtkInternals;
88  vtkInternals* Internals;
89 };
90 
91 #endif
virtual const char * IsSelectVisiblePointsAvailable()
Similar to IsSelectionAvailable(), however, on failure returns the error message otherwise 0...
virtual const char * GetRepresentationType(vtkSMSourceProxy *producer, int outputPort)
Overridden to check through the various representations that this view can create.
virtual vtkSMRepresentationProxy * CreateDefaultRepresentation(vtkSMProxy *, int)
Create a default representation for the given source proxy.
Custom RenderViewProxy to override CreateDefaultRepresentation method so only the Multi-Slice represe...
implementation for View that includes render window and renderers.
proxy for a VTK source on a server
static vtkSMRenderViewProxy * New()
void PrintSelf(ostream &os, vtkIndent indent)
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:934