VTK  9.3.20240424
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
14#include "vtkSmartPointer.h" // For SP ivars
15#include "vtkViewsCoreModule.h" // For export macro
16
17VTK_ABI_NAMESPACE_BEGIN
19
20class VTKVIEWSCORE_EXPORT vtkEmptyRepresentation : public vtkDataRepresentation
21{
22public:
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
42protected:
45
46private:
48 void operator=(const vtkEmptyRepresentation&) = delete;
49
51};
52
53VTK_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...
static vtkEmptyRepresentation * New()
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.
vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port) override
~vtkEmptyRepresentation() override
vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port, int conn) override
a simple class to control print indentation
Definition vtkIndent.h:108
Hold a reference to a vtkObjectBase instance.