VTK: Views/Core/vtkEmptyRepresentation.h Source File

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