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
31#include "vtkSmartPointer.h" // For SP ivars
32
34
35class VTKVIEWSCORE_EXPORT vtkEmptyRepresentation : public vtkDataRepresentation
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent);
41
48 { return this->GetInternalAnnotationOutputPort(0); }
50 { return this->GetInternalAnnotationOutputPort(port, 0); }
52
53protected:
56
57private:
58 vtkEmptyRepresentation(const vtkEmptyRepresentation&) VTK_DELETE_FUNCTION;
59 void operator=(const vtkEmptyRepresentation&) VTK_DELETE_FUNCTION;
60
62
63};
64
65#endif
66
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()
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port, int conn)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort()
Since this representation has no inputs, override superclass implementation with one that ignores "po...
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port)
a simple class to control print indentation
Definition: vtkIndent.h:40
@ port
Definition: vtkX3D.h:447