VTK  9.3.0
vtkEmptyRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
10 #ifndef vtkEmptyRepresentation_h
11 #define vtkEmptyRepresentation_h
12 
13 #include "vtkDataRepresentation.h"
14 #include "vtkSmartPointer.h" // For SP ivars
15 #include "vtkViewsCoreModule.h" // For export macro
16 
17 VTK_ABI_NAMESPACE_BEGIN
19 
20 class VTKVIEWSCORE_EXPORT vtkEmptyRepresentation : public vtkDataRepresentation
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
33  {
34  return this->GetInternalAnnotationOutputPort(0);
35  }
37  {
38  return this->GetInternalAnnotationOutputPort(port, 0);
39  }
41 
42 protected:
45 
46 private:
48  void operator=(const vtkEmptyRepresentation&) = delete;
49 
51 };
52 
53 VTK_ABI_NAMESPACE_END
54 #endif
Proxy object to connect input/output ports.
Convert a selection from one domain to another.
The superclass for all representations.
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort()
The output port that contains the annotations whose selections are localized for a particular input d...
vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port) override
vtkAlgorithmOutput * GetInternalAnnotationOutputPort() override
Since this representation has no inputs, override superclass implementation with one that ignores "po...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkEmptyRepresentation() override
static vtkEmptyRepresentation * New()
vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port, int conn) override
a simple class to control print indentation
Definition: vtkIndent.h:29
@ port
Definition: vtkX3D.h:447