VTK  9.1.0
vtkEmptyRepresentation.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkEmptyRepresentation.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
26#ifndef vtkEmptyRepresentation_h
27#define vtkEmptyRepresentation_h
28
30#include "vtkSmartPointer.h" // For SP ivars
31#include "vtkViewsCoreModule.h" // For export macro
32
34
35class VTKVIEWSCORE_EXPORT vtkEmptyRepresentation : public vtkDataRepresentation
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
48 {
49 return this->GetInternalAnnotationOutputPort(0);
50 }
52 {
53 return this->GetInternalAnnotationOutputPort(port, 0);
54 }
56
57protected:
60
61private:
63 void operator=(const vtkEmptyRepresentation&) = delete;
64
66};
67
68#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:113
Hold a reference to a vtkObjectBase instance.