VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Views
Infovis
vtkRenderedRepresentation.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3
// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
10
#ifndef vtkRenderedRepresentation_h
11
#define vtkRenderedRepresentation_h
12
13
#include "
vtkDataRepresentation.h
"
14
#include "
vtkSmartPointer.h
"
// for SP ivars
15
#include "vtkViewsInfovisModule.h"
// For export macro
16
17
VTK_ABI_NAMESPACE_BEGIN
18
class
vtkApplyColors
;
19
class
vtkProp
;
20
class
vtkRenderView
;
21
class
vtkRenderWindow
;
22
class
vtkTextProperty
;
23
class
vtkTexture
;
24
class
vtkView
;
25
26
class
VTKVIEWSINFOVIS_EXPORT
vtkRenderedRepresentation
:
public
vtkDataRepresentation
27
{
28
public
:
29
static
vtkRenderedRepresentation
*
New
();
30
vtkTypeMacro(
vtkRenderedRepresentation
,
vtkDataRepresentation
);
31
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
32
34
40
vtkSetMacro(LabelRenderMode,
int
);
41
vtkGetMacro(LabelRenderMode,
int
);
43
44
protected
:
45
vtkRenderedRepresentation
();
46
~
vtkRenderedRepresentation
()
override
;
47
49
54
void
AddPropOnNextRender(
vtkProp
* p);
55
void
RemovePropOnNextRender(
vtkProp
* p);
57
64
std::string
GetHoverString(
vtkView
* view,
vtkProp
* prop,
vtkIdType
cell);
65
69
virtual
std::string
GetHoverStringInternal
(
vtkSelection
*) {
return
""
; }
70
75
virtual
void
PrepareForRendering(
vtkRenderView
* view);
76
77
friend
class
vtkRenderView
;
78
79
int
LabelRenderMode
;
80
81
private
:
82
vtkRenderedRepresentation
(
const
vtkRenderedRepresentation
&) =
delete
;
83
void
operator=(
const
vtkRenderedRepresentation
&) =
delete
;
84
85
class
Internals;
86
Internals* Implementation;
87
};
88
89
VTK_ABI_NAMESPACE_END
90
#endif
vtkRenderedRepresentation
Definition:
vtkRenderedRepresentation.h:26
vtkProp
abstract superclass for all actors, volumes and annotations
Definition:
vtkProp.h:45
vtkSelection
data object that represents a "selection" in VTK.
Definition:
vtkSelection.h:49
vtkIdType
int vtkIdType
Definition:
vtkType.h:315
vtkDataRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::string
Definition:
vtkX3D.h:490
vtkView
The superclass for all views.
Definition:
vtkView.h:48
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:28
vtkDataRepresentation
The superclass for all representations.
Definition:
vtkDataRepresentation.h:57
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:57
vtkTextProperty
represent text properties.
Definition:
vtkTextProperty.h:25
vtkRenderedRepresentation::GetHoverStringInternal
virtual std::string GetHoverStringInternal(vtkSelection *)
Subclasses may override this method to generate the hover text.
Definition:
vtkRenderedRepresentation.h:69
vtkSmartPointer.h
vtkDataRepresentation::New
static vtkDataRepresentation * New()
vtkRenderWindow
create a window for renderers to draw into
Definition:
vtkRenderWindow.h:85
vtkDataRepresentation.h
vtkRenderView
A view containing a renderer.
Definition:
vtkRenderView.h:49
vtkApplyColors
apply colors to a data set.
Definition:
vtkApplyColors.h:71
vtkRenderedRepresentation::LabelRenderMode
int LabelRenderMode
Definition:
vtkRenderedRepresentation.h:79
Generated on Sun Dec 8 2024 22:05:55 for VTK by
1.8.10