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 -------------------------------------------------------------------------*/
25 #ifndef __vtkEmptyRepresentation_h
26 #define __vtkEmptyRepresentation_h
27 
28 #include "vtkDataRepresentation.h"
29 #include "vtkSmartPointer.h" // For SP ivars
30 
32 
34 {
35 public:
36  static vtkEmptyRepresentation* New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
45  { return this->GetInternalAnnotationOutputPort(0); }
47  { return this->GetInternalAnnotationOutputPort(port, 0); }
50 
51 protected:
54 
55 private:
56  vtkEmptyRepresentation(const vtkEmptyRepresentation&); // Not implemented
57  void operator=(const vtkEmptyRepresentation&); // Not implemented
58 
59 //BTX
61 //ETX
62 };
63 
64 #endif
65 
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort()
#define VTK_VIEWS_EXPORT
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:37
The superclass for all representations.
void PrintSelf(ostream &os, vtkIndent indent)
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port)
Convert a selection from one domain to another.
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort()
static vtkDataRepresentation * New()