VTK  9.7.1
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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
17 
18 VTK_ABI_NAMESPACE_BEGIN
20 
22 {
23 public:
24  static vtkEmptyRepresentation* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
34  {
35  return this->GetInternalAnnotationOutputPort(0);
36  }
38  {
39  return this->GetInternalAnnotationOutputPort(port, 0);
40  }
42 
43 protected:
45  ~vtkEmptyRepresentation() override;
46 
47 private:
49  void operator=(const vtkEmptyRepresentation&) = delete;
50 
52 };
53 
54 VTK_ABI_NAMESPACE_END
55 #endif
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort()
The output port that contains the annotations whose selections are localized for a particular input d...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:28
The superclass for all representations.
Convert a selection from one domain to another.
static vtkDataRepresentation * New()
vtkAlgorithmOutput * GetInternalAnnotationOutputPort() override
Since this representation has no inputs, override superclass implementation with one that ignores "po...
#define VTK_MARSHALAUTO
vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port) override