vtkSMOrthographicSliceViewProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkSMOrthographicSliceViewProxy_h
10 #define vtkSMOrthographicSliceViewProxy_h
11 
12 #include "vtkSMRenderViewProxy.h"
14 
15 class VTKREMOTINGVIEWS_EXPORT vtkSMOrthographicSliceViewProxy : public vtkSMRenderViewProxy
16 {
17 public:
20  void PrintSelf(ostream& os, vtkIndent indent) override;
21 
25  const char* GetRepresentationType(vtkSMSourceProxy* producer, int outputPort) override;
26 
32  vtkSMRepresentationProxy* CreateDefaultRepresentation(vtkSMProxy* proxy, int outputPort) override;
33 
34 protected:
37 
38  void InitDefaultSlices(vtkSMSourceProxy* source, int opport, vtkSMRepresentationProxy* repr);
39 
40  void CreateVTKObjects() override;
41  void OnMouseWheelBackwardEvent(vtkObject*, unsigned long, void* calldata);
42  void OnMouseWheelForwardEvent(vtkObject*, unsigned long, void* calldata);
43  void OnPlacePointEvent(vtkObject*, unsigned long, void* calldata);
44 
45 private:
47  void operator=(const vtkSMOrthographicSliceViewProxy&) = delete;
48 };
49 
50 #endif
vtkSMRenderViewProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMRenderViewProxy
implementation for View that includes render window and renderers.
Definition: vtkSMRenderViewProxy.h:27
vtkSMRepresentationProxy
Proxy for a representations.
Definition: vtkSMRepresentationProxy.h:76
vtkObject
vtkSMRenderViewProxy::GetRepresentationType
const char * GetRepresentationType(vtkSMSourceProxy *producer, int outputPort) override
Overridden to check through the various representations that this view can create.
vtkSMRenderViewProxy.h
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
vtkSMViewProxy::CreateDefaultRepresentation
virtual vtkSMRepresentationProxy * CreateDefaultRepresentation(vtkSMProxy *, int)
Create a default representation for the given source proxy.
vtkSMSourceProxy
proxy for a VTK source on a server
Definition: vtkSMSourceProxy.h:37
vtkIndent
vtkSMOrthographicSliceViewProxy
Definition: vtkSMOrthographicSliceViewProxy.h:15
vtkSMRenderViewProxy::New
static vtkSMRenderViewProxy * New()
vtkSMRenderViewProxy::CreateVTKObjects
void CreateVTKObjects() override
Called at the end of CreateVTKObjects().