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 
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
a data-representation used by ParaView.
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.
unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable) override
Override because of internal composite representations that need to be initialized as well...
#define VTKREMOTINGVIEWS_EXPORT
void MarkModified() override
Propagate the modification to all internal representations.
void SetVisibility(bool visible) override
Set visibility of the representation.
void RemoveInputConnection(int port, vtkAlgorithmOutput *input) override
Passed on to internal representations as well.
static vtkPVCompositeRepresentation * New()
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVCompositeOrthographicSliceRepresentation is designed for use with vtkPVOrthographicSliceView.
void SetInputConnection(int port, vtkAlgorithmOutput *input) override
Passed on to internal representations as well.
void AddInputConnection(int port, vtkAlgorithmOutput *input) override
Passed on to internal representations as well.
bool AddToView(vtkView *view) override
Adds the representation to the view.
port
index
extends vtkGeometryRepresentation to add support for showing just specific slices from the dataset...