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
vtkRenderedRepresentation
Definition:
vtkRenderedRepresentation.h:40
vtkProp
abstract superclass for all actors, volumes and annotations
Definition:
vtkProp.h:49
vtkUnicodeString.h
vtkSelection
A node in a selection tree. Used to store selection results.
Definition:
vtkSelection.h:43
vtkIdType
int vtkIdType
Definition:
vtkType.h:255
VTK_VIEWS_EXPORT
#define VTK_VIEWS_EXPORT
Definition:
vtkWin32Header.h:284
vtkView
The superclass for all views.
Definition:
vtkView.h:61
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkDataRepresentation
The superclass for all representations.
Definition:
vtkDataRepresentation.h:72
vtkRenderedRepresentation::Implementation
Internals * Implementation
Definition:
vtkRenderedRepresentation.h:86
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:68
vtkDataRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTextProperty
represent text properties.
Definition:
vtkTextProperty.h:37
vtkSmartPointer.h
vtkDataRepresentation::New
static vtkDataRepresentation * New()
vtkRenderWindow
create a window for renderers to draw into
Definition:
vtkRenderWindow.h:106
vtkDataRepresentation.h
vtkRenderView
A view containing a renderer.
Definition:
vtkRenderView.h:62
vtkApplyColors
apply colors to a data set.
Definition:
vtkApplyColors.h:84
vtkRenderedRepresentation::GetHoverTextInternal
virtual vtkUnicodeString GetHoverTextInternal(vtkSelection *)
Definition:
vtkRenderedRepresentation.h:76
vtkUnicodeString
String class that stores Unicode text.
Definition:
vtkUnicodeString.h:70
vtkRenderedRepresentation::LabelRenderMode
int LabelRenderMode
Definition:
vtkRenderedRepresentation.h:90
Generated on Sun Oct 19 2014 13:07:35 for VTK by
1.8.8