vtkPVCompositeOrthographicSliceRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCompositeOrthographicSliceRepresentation.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 =========================================================================*/
24 #ifndef vtkPVCompositeOrthographicSliceRepresentation_h
25 #define vtkPVCompositeOrthographicSliceRepresentation_h
26 
28 #include "vtkSmartPointer.h" // needed for vtkSmartPointer.
29 
31 
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
40  void SetSliceRepresentation(int index, vtkGeometrySliceRepresentation*);
42  {
43  this->SetSliceRepresentation(0, repr);
44  }
46  {
47  this->SetSliceRepresentation(1, repr);
48  }
50  {
51  this->SetSliceRepresentation(2, repr);
52  }
53 
58  void SetVisibility(bool visible) override;
59 
61 
66  void SetInputConnection(int port, vtkAlgorithmOutput* input) override;
67  void SetInputConnection(vtkAlgorithmOutput* input) override;
68  void AddInputConnection(int port, vtkAlgorithmOutput* input) override;
69  void AddInputConnection(vtkAlgorithmOutput* input) override;
70  void RemoveInputConnection(int port, vtkAlgorithmOutput* input) override;
71  void RemoveInputConnection(int port, int index) override;
73 
77  void MarkModified() override;
78 
83  unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable) override;
84 
85 protected:
88 
94  bool AddToView(vtkView* view) override;
95 
101  bool RemoveFromView(vtkView* view) override;
102 
104 
105 private:
108  void operator=(const vtkPVCompositeOrthographicSliceRepresentation&) = delete;
109 };
110 
111 #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...