VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-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
-------------------------------------------------------------------------*/
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
41
class
VTKVIEWSINFOVIS_EXPORT
vtkRenderedRepresentation
:
public
vtkDataRepresentation
42
{
43
public
:
44
static
vtkRenderedRepresentation
*
New
();
45
vtkTypeMacro(
vtkRenderedRepresentation
,
vtkDataRepresentation
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
49
52
vtkSetMacro(LabelRenderMode,
int
);
53
vtkGetMacro(LabelRenderMode,
int
);
55
56
protected
:
57
vtkRenderedRepresentation
();
58
~
vtkRenderedRepresentation
();
59
61
64
void
AddPropOnNextRender(
vtkProp
* p);
65
void
RemovePropOnNextRender(
vtkProp
* p);
67
73
vtkUnicodeString
GetHoverText(
vtkView
* view,
vtkProp
* prop,
vtkIdType
cell);
74
76
77
virtual
vtkUnicodeString
GetHoverTextInternal
(
vtkSelection
*)
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
91
int
LabelRenderMode
;
92
93
private
:
94
vtkRenderedRepresentation
(
const
vtkRenderedRepresentation
&);
// Not implemented
95
void
operator=(
const
vtkRenderedRepresentation
&);
// Not implemented
96
};
97
98
#endif
99
vtkRenderedRepresentation
Definition:
vtkRenderedRepresentation.h:41
vtkProp
abstract superclass for all actors, volumes and annotations
Definition:
vtkProp.h:52
vtkUnicodeString.h
vtkSelection
A node in a selection tree. Used to store selection results.
Definition:
vtkSelection.h:44
vtkIdType
int vtkIdType
Definition:
vtkType.h:275
vtkView
The superclass for all views.
Definition:
vtkView.h:62
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkViewsInfovisModule.h
vtkDataRepresentation
The superclass for all representations.
Definition:
vtkDataRepresentation.h:71
vtkRenderedRepresentation::Implementation
Internals * Implementation
Definition:
vtkRenderedRepresentation.h:87
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:69
vtkDataRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTextProperty
represent text properties.
Definition:
vtkTextProperty.h:38
vtkSmartPointer.h
vtkDataRepresentation::New
static vtkDataRepresentation * New()
vtkRenderWindow
create a window for renderers to draw into
Definition:
vtkRenderWindow.h:88
vtkDataRepresentation.h
vtkRenderView
A view containing a renderer.
Definition:
vtkRenderView.h:63
vtkApplyColors
apply colors to a data set.
Definition:
vtkApplyColors.h:85
vtkRenderedRepresentation::GetHoverTextInternal
virtual vtkUnicodeString GetHoverTextInternal(vtkSelection *)
Definition:
vtkRenderedRepresentation.h:77
VTKVIEWSINFOVIS_EXPORT
#define VTKVIEWSINFOVIS_EXPORT
Definition:
vtkViewsInfovisModule.h:15
vtkUnicodeString
String class that stores Unicode text.
Definition:
vtkUnicodeString.h:71
vtkRenderedRepresentation::LabelRenderMode
int LabelRenderMode
Definition:
vtkRenderedRepresentation.h:91
Generated by
1.8.9.1