VTK
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 
29 #include "vtkViewsCoreModule.h" // For export macro
30 #include "vtkDataRepresentation.h"
31 #include "vtkSmartPointer.h" // For SP ivars
32 
34 
35 class VTKVIEWSCORE_EXPORT vtkEmptyRepresentation : public vtkDataRepresentation
36 {
37 public:
38  static vtkEmptyRepresentation* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
48  { return this->GetInternalAnnotationOutputPort(0); }
50  { return this->GetInternalAnnotationOutputPort(port, 0); }
52 
53 protected:
55  ~vtkEmptyRepresentation() override;
56 
57 private:
59  void operator=(const vtkEmptyRepresentation&) = delete;
60 
62 
63 };
64 
65 #endif
66 
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:39
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...
vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port) override