VTK
9.3.1
Main Page
Related Pages
Topics
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
vtkApplyColors
apply colors to a data set.
Definition
vtkApplyColors.h:72
vtkDataRepresentation
The superclass for all representations.
Definition
vtkDataRepresentation.h:58
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkProp
abstract superclass for all actors, volumes and annotations
Definition
vtkProp.h:46
vtkRenderView
A view containing a renderer.
Definition
vtkRenderView.h:50
vtkRenderWindow
create a window for renderers to draw into
Definition
vtkRenderWindow.h:86
vtkRenderedRepresentation
Definition
vtkRenderedRepresentation.h:27
vtkRenderedRepresentation::~vtkRenderedRepresentation
~vtkRenderedRepresentation() override
vtkRenderedRepresentation::RemovePropOnNextRender
void RemovePropOnNextRender(vtkProp *p)
Subclasses may call these methods to add or remove props from the representation.
vtkRenderedRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRenderedRepresentation::GetHoverString
std::string GetHoverString(vtkView *view, vtkProp *prop, vtkIdType cell)
Obtains the hover text for a particular prop and cell.
vtkRenderedRepresentation::vtkRenderedRepresentation
vtkRenderedRepresentation()
vtkRenderedRepresentation::PrepareForRendering
virtual void PrepareForRendering(vtkRenderView *view)
The view will call this method before every render.
vtkRenderedRepresentation::GetHoverStringInternal
virtual std::string GetHoverStringInternal(vtkSelection *)
Subclasses may override this method to generate the hover text.
Definition
vtkRenderedRepresentation.h:69
vtkRenderedRepresentation::AddPropOnNextRender
void AddPropOnNextRender(vtkProp *p)
Subclasses may call these methods to add or remove props from the representation.
vtkRenderedRepresentation::New
static vtkRenderedRepresentation * New()
vtkRenderedRepresentation::LabelRenderMode
int LabelRenderMode
Definition
vtkRenderedRepresentation.h:79
vtkSelection
data object that represents a "selection" in VTK.
Definition
vtkSelection.h:50
vtkTextProperty
represent text properties.
Definition
vtkTextProperty.h:26
vtkTexture
handles properties associated with a texture map
Definition
vtkTexture.h:58
vtkView
The superclass for all views.
Definition
vtkView.h:49
vtkDataRepresentation.h
vtkSmartPointer.h
vtkIdType
int vtkIdType
Definition
vtkType.h:315
Generated on Fri Oct 25 2024 00:00:00 for VTK by
1.12.0