VTK  9.4.20250102
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
17
18VTK_ABI_NAMESPACE_BEGIN
20
22{
23public:
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
43protected:
46
47private:
49 void operator=(const vtkEmptyRepresentation&) = delete;
50
52};
53
54VTK_ABI_NAMESPACE_END
55#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.
#define VTK_MARSHALAUTO