VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Builds
VTK
release
Utilities
Doxygen
dox
Views
Infovis
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
30
#include "
vtkDataRepresentation.h
"
31
#include "
vtkSmartPointer.h
"
// for SP ivars
32
#include "
vtkUnicodeString.h
"
// for string
33
34
class
vtkApplyColors
;
35
class
vtkProp
;
36
class
vtkRenderView
;
37
class
vtkRenderWindow
;
38
class
vtkTextProperty
;
39
class
vtkTexture
;
40
class
vtkView
;
41
42
class
VTKVIEWSINFOVIS_EXPORT
vtkRenderedRepresentation
:
public
vtkDataRepresentation
43
{
44
public
:
45
static
vtkRenderedRepresentation
*
New
();
46
vtkTypeMacro(
vtkRenderedRepresentation
,
vtkDataRepresentation
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
50
56
vtkSetMacro
(LabelRenderMode,
int
);
57
vtkGetMacro(LabelRenderMode,
int
);
59
60
protected
:
61
vtkRenderedRepresentation
();
62
~
vtkRenderedRepresentation
();
63
65
70
void
AddPropOnNextRender(
vtkProp
* p);
71
void
RemovePropOnNextRender(
vtkProp
* p);
73
80
vtkUnicodeString
GetHoverText(
vtkView
* view,
vtkProp
* prop,
vtkIdType
cell);
81
85
virtual
vtkUnicodeString
GetHoverTextInternal
(
vtkSelection
*)
86
{
return
vtkUnicodeString
(); }
87
92
virtual
void
PrepareForRendering(
vtkRenderView
* view);
93
94
friend
class
vtkRenderView
;
95
class
Internals;
96
Internals*
Implementation
;
97
98
int
LabelRenderMode
;
99
100
private
:
101
vtkRenderedRepresentation
(
const
vtkRenderedRepresentation
&) VTK_DELETE_FUNCTION;
102
void
operator=(const
vtkRenderedRepresentation
&) VTK_DELETE_FUNCTION;
103
};
104
105
#endif
106
vtkRenderedRepresentation
Definition:
vtkRenderedRepresentation.h:42
vtkProp
abstract superclass for all actors, volumes and annotations
Definition:
vtkProp.h:50
vtkUnicodeString.h
vtkSelection
A node in a selection tree.
Definition:
vtkSelection.h:43
vtkIdType
int vtkIdType
Definition:
vtkType.h:287
vtkView
The superclass for all views.
Definition:
vtkView.h:60
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkDataRepresentation
The superclass for all representations.
Definition:
vtkDataRepresentation.h:69
vtkRenderedRepresentation::Implementation
Internals * Implementation
Definition:
vtkRenderedRepresentation.h:95
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:70
vtkDataRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTextProperty
represent text properties.
Definition:
vtkTextProperty.h:39
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkSmartPointer.h
vtkDataRepresentation::New
static vtkDataRepresentation * New()
vtkRenderWindow
create a window for renderers to draw into
Definition:
vtkRenderWindow.h:86
vtkDataRepresentation.h
vtkRenderView
A view containing a renderer.
Definition:
vtkRenderView.h:61
vtkApplyColors
apply colors to a data set.
Definition:
vtkApplyColors.h:86
vtkRenderedRepresentation::GetHoverTextInternal
virtual vtkUnicodeString GetHoverTextInternal(vtkSelection *)
Subclasses may override this method to generate the hover text.
Definition:
vtkRenderedRepresentation.h:85
vtkUnicodeString
String class that stores Unicode text.
Definition:
vtkUnicodeString.h:72
vtkRenderedRepresentation::LabelRenderMode
int LabelRenderMode
Definition:
vtkRenderedRepresentation.h:98
Generated by
1.8.9.1