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 "vtkRemotingViewsModule.h" //needed for exports
26 #include "vtkSMRenderViewProxy.h"
27 
28 class vtkSMSourceProxy;
29 
31 {
32 public:
33  static vtkSMMultiSliceViewProxy* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
41  const char* IsSelectVisiblePointsAvailable() override;
42 
48  vtkSMRepresentationProxy* CreateDefaultRepresentation(vtkSMProxy* proxy, int outputPort) override;
49 
53  const char* GetRepresentationType(vtkSMSourceProxy* producer, int outputPort) override;
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:
75  ~vtkSMMultiSliceViewProxy() override;
76 
81  void InitDefaultSlices(vtkSMSourceProxy* source, int opport, vtkSMRepresentationProxy* repr);
82 
83 private:
85  void operator=(const vtkSMMultiSliceViewProxy&) = delete;
86 
87  class vtkInternals;
88  vtkInternals* Internals;
89 };
90 
91 #endif
Proxy for a representations.
virtual const char * IsSelectVisiblePointsAvailable()
Similar to IsSelectionAvailable(), however, on failure returns the error message otherwise 0...
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
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...
const char * GetRepresentationType(vtkSMSourceProxy *producer, int outputPort) override
Overridden to check through the various representations that this view can create.
implementation for View that includes render window and renderers.
proxy for a VTK source on a server
static vtkSMRenderViewProxy * New()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1006