vtkSMMultiSliceViewProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkSMMultiSliceViewProxy_h
11 #define vtkSMMultiSliceViewProxy_h
12 
13 #include "vtkRemotingViewsModule.h" //needed for exports
14 #include "vtkSMRenderViewProxy.h"
15 
16 class vtkSMSourceProxy;
17 
19 {
20 public:
21  static vtkSMMultiSliceViewProxy* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
29  const char* IsSelectVisiblePointsAvailable() override;
30 
36  vtkSMRepresentationProxy* CreateDefaultRepresentation(vtkSMProxy* proxy, int outputPort) override;
37 
41  const char* GetRepresentationType(vtkSMSourceProxy* producer, int outputPort) override;
42 
48  void GetDataBounds(double bounds[6]);
49 
53  static void ForceRepresentationType(vtkSMProxy* reprProxy, const char* type);
54 
59  static bool GetDataBounds(vtkSMSourceProxy* source, int opport, double bounds[6]);
60 
61 protected:
63  ~vtkSMMultiSliceViewProxy() override;
64 
69  void InitDefaultSlices(vtkSMSourceProxy* source, int opport, vtkSMRepresentationProxy* repr);
70 
71 private:
73  void operator=(const vtkSMMultiSliceViewProxy&) = delete;
74 
75  class vtkInternals;
76  vtkInternals* Internals;
77 };
78 
79 #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:140
vtkSMProxyInternals * Internals
Definition: vtkSMProxy.h:1002