vtkPVCompositeOrthographicSliceRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPVCompositeOrthographicSliceRepresentation_h
13 #define vtkPVCompositeOrthographicSliceRepresentation_h
14 
16 #include "vtkSmartPointer.h" // needed for vtkSmartPointer.
17 
19 
20 class VTKREMOTINGVIEWS_EXPORT vtkPVCompositeOrthographicSliceRepresentation
22 {
23 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
28  void SetSliceRepresentation(int index, vtkGeometrySliceRepresentation*);
30  {
31  this->SetSliceRepresentation(0, repr);
32  }
34  {
35  this->SetSliceRepresentation(1, repr);
36  }
38  {
39  this->SetSliceRepresentation(2, repr);
40  }
41 
46  void SetVisibility(bool visible) override;
47 
49 
54  void SetInputConnection(int port, vtkAlgorithmOutput* input) override;
55  void SetInputConnection(vtkAlgorithmOutput* input) override;
56  void AddInputConnection(int port, vtkAlgorithmOutput* input) override;
57  void AddInputConnection(vtkAlgorithmOutput* input) override;
58  void RemoveInputConnection(int port, vtkAlgorithmOutput* input) override;
59  void RemoveInputConnection(int port, int index) override;
61 
65  void MarkModified() override;
66 
71  unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable) override;
72 
73 protected:
76 
82  bool AddToView(vtkView* view) override;
83 
89  bool RemoveFromView(vtkView* view) override;
90 
92 
93 private:
96  void operator=(const vtkPVCompositeOrthographicSliceRepresentation&) = delete;
97 };
98 
99 #endif
vtkPVCompositeOrthographicSliceRepresentation::SetSliceRepresentation0
void SetSliceRepresentation0(vtkGeometrySliceRepresentation *repr)
Definition: vtkPVCompositeOrthographicSliceRepresentation.h:29
vtkPVCompositeRepresentation::Initialize
unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable) override
Override because of internal composite representations that need to be initialized as well.
vtkSmartPointer< vtkGeometrySliceRepresentation >
vtkPVCompositeRepresentation::AddInputConnection
void AddInputConnection(int port, vtkAlgorithmOutput *input) override
Passed on to internal representations as well.
vtkPVCompositeRepresentation::RemoveFromView
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.
vtkPVCompositeRepresentation::MarkModified
void MarkModified() override
Propagate the modification to all internal representations.
vtkPVCompositeRepresentation::SetVisibility
void SetVisibility(bool visible) override
Set visibility of the representation.
vtkPVCompositeOrthographicSliceRepresentation::SetSliceRepresentation1
void SetSliceRepresentation1(vtkGeometrySliceRepresentation *repr)
Definition: vtkPVCompositeOrthographicSliceRepresentation.h:33
vtkPVCompositeOrthographicSliceRepresentation
Definition: vtkPVCompositeOrthographicSliceRepresentation.h:20
vtkView
vtkPVCompositeRepresentation::RemoveInputConnection
void RemoveInputConnection(int port, vtkAlgorithmOutput *input) override
Passed on to internal representations as well.
vtkIndent
vtkPVCompositeRepresentation::New
static vtkPVCompositeRepresentation * New()
vtkSmartPointer.h
vtkPVCompositeRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVCompositeOrthographicSliceRepresentation::SetSliceRepresentation2
void SetSliceRepresentation2(vtkGeometrySliceRepresentation *repr)
Definition: vtkPVCompositeOrthographicSliceRepresentation.h:37
vtkAlgorithmOutput
vtkGeometrySliceRepresentation
extends vtkGeometryRepresentation to add support for showing just specific slices from the dataset.
Definition: vtkGeometrySliceRepresentation.h:18
vtkPVCompositeRepresentation
a data-representation used by ParaView.
Definition: vtkPVCompositeRepresentation.h:27
vtkPVCompositeRepresentation::AddToView
bool AddToView(vtkView *view) override
Adds the representation to the view.
vtkPVCompositeRepresentation::SetInputConnection
void SetInputConnection(int port, vtkAlgorithmOutput *input) override
Passed on to internal representations as well.
vtkPVCompositeRepresentation.h