VTK
vtkRenderedRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderedRepresentation.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 vtkRenderedRepresentation_h
26 #define vtkRenderedRepresentation_h
27 
28 #include "vtkViewsInfovisModule.h" // For export macro
29 #include "vtkDataRepresentation.h"
30 #include "vtkSmartPointer.h" // for SP ivars
31 #include "vtkUnicodeString.h" // for string
32 
33 class vtkApplyColors;
34 class vtkProp;
35 class vtkRenderView;
36 class vtkRenderWindow;
37 class vtkTextProperty;
38 class vtkTexture;
39 class vtkView;
40 
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
52  vtkSetMacro(LabelRenderMode, int);
53  vtkGetMacro(LabelRenderMode, int);
55 
56 protected:
59 
61 
64  void AddPropOnNextRender(vtkProp* p);
65  void RemovePropOnNextRender(vtkProp* p);
67 
73  vtkUnicodeString GetHoverText(vtkView* view, vtkProp* prop, vtkIdType cell);
74 
76 
78  { return vtkUnicodeString(); }
80 
83  virtual void PrepareForRendering(vtkRenderView* view);
84 
85  //BTX
86  friend class vtkRenderView;
87  class Internals;
88  Internals* Implementation;
89  //ETX
90 
92 
93 private:
94  vtkRenderedRepresentation(const vtkRenderedRepresentation&); // Not implemented
95  void operator=(const vtkRenderedRepresentation&); // Not implemented
96 };
97 
98 #endif
99 
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:52
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:44
int vtkIdType
Definition: vtkType.h:275
The superclass for all views.
Definition: vtkView.h:62
a simple class to control print indentation
Definition: vtkIndent.h:38
The superclass for all representations.
handles properties associated with a texture map
Definition: vtkTexture.h:69
void PrintSelf(ostream &os, vtkIndent indent)
represent text properties.
static vtkDataRepresentation * New()
create a window for renderers to draw into
A view containing a renderer.
Definition: vtkRenderView.h:63
apply colors to a data set.
virtual vtkUnicodeString GetHoverTextInternal(vtkSelection *)
#define VTKVIEWSINFOVIS_EXPORT
String class that stores Unicode text.