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-------------------------------------------------------------------------*/
26#ifndef vtkRenderedRepresentation_h
27#define vtkRenderedRepresentation_h
28
29#include "vtkViewsInfovisModule.h" // For export macro
31#include "vtkSmartPointer.h" // for SP ivars
32#include "vtkUnicodeString.h" // for string
33
34class vtkApplyColors;
35class vtkProp;
36class vtkRenderView;
37class vtkRenderWindow;
38class vtkTextProperty;
39class vtkTexture;
40class vtkView;
41
42class VTKVIEWSINFOVIS_EXPORT vtkRenderedRepresentation : public vtkDataRepresentation
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent);
48
50
56 vtkSetMacro(LabelRenderMode, int);
57 vtkGetMacro(LabelRenderMode, int);
59
60protected:
63
65
73
81
86 { return vtkUnicodeString(); }
87
93
94 friend class vtkRenderView;
95 class Internals;
96 Internals* Implementation;
97
99
100private:
101 vtkRenderedRepresentation(const vtkRenderedRepresentation&) VTK_DELETE_FUNCTION;
102 void operator=(const vtkRenderedRepresentation&) VTK_DELETE_FUNCTION;
103};
104
105#endif
106
apply colors to a data set.
The superclass for all representations.
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:48
A view containing a renderer.
Definition: vtkRenderView.h:62
create a window for renderers to draw into
void RemovePropOnNextRender(vtkProp *p)
virtual vtkUnicodeString GetHoverTextInternal(vtkSelection *)
Subclasses may override this method to generate the hover text.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkUnicodeString GetHoverText(vtkView *view, vtkProp *prop, vtkIdType cell)
Obtains the hover text for a particular prop and cell.
virtual void PrepareForRendering(vtkRenderView *view)
The view will call this method before every render.
void AddPropOnNextRender(vtkProp *p)
Subclasses may call these methods to add or remove props from the representation.
static vtkRenderedRepresentation * New()
A node in a selection tree.
Definition: vtkSelection.h:44
represent text properties.
handles properties associated with a texture map
Definition: vtkTexture.h:71
String class that stores Unicode text.
The superclass for all views.
Definition: vtkView.h:61
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int vtkIdType
Definition: vtkType.h:287