VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Views
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 "
vtkDataRepresentation.h
"
29
#include "
vtkSmartPointer.h
"
// for SP ivars
30
#include "
vtkUnicodeString.h
"
// for string
31
32
class
vtkApplyColors
;
33
class
vtkProp
;
34
class
vtkRenderView
;
35
class
vtkRenderWindow
;
36
class
vtkTextProperty
;
37
class
vtkTexture
;
38
class
vtkView
;
39
40
class
VTK_VIEWS_EXPORT
vtkRenderedRepresentation
:
public
vtkDataRepresentation
41
{
42
public
:
43
static
vtkRenderedRepresentation
*
New
();
44
vtkTypeMacro(
vtkRenderedRepresentation
,
vtkDataRepresentation
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
48
51
vtkSetMacro(LabelRenderMode,
int
);
52
vtkGetMacro(LabelRenderMode,
int
);
54
55
protected
:
56
vtkRenderedRepresentation
();
57
~
vtkRenderedRepresentation
();
58
60
63
void
AddPropOnNextRender(
vtkProp
* p);
64
void
RemovePropOnNextRender(
vtkProp
* p);
66
72
vtkUnicodeString
GetHoverText(
vtkView
* view,
vtkProp
* prop,
vtkIdType
cell);
73
75
76
virtual
vtkUnicodeString
GetHoverTextInternal(
vtkSelection
*)
77
{
return
vtkUnicodeString
(); }
79
82
virtual
void
PrepareForRendering(
vtkRenderView
* view);
83
84
//BTX
85
friend
class
vtkRenderView
;
86
class
Internals;
87
Internals*
Implementation
;
88
//ETX
89
90
int
LabelRenderMode
;
91
92
private
:
93
vtkRenderedRepresentation
(
const
vtkRenderedRepresentation
&);
// Not implemented
94
void
operator=(
const
vtkRenderedRepresentation
&);
// Not implemented
95
};
96
97
#endif
98
Generated on Wed Nov 21 2012 21:34:07 for VTK by
1.8.2