VTK  9.3.0
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:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
40  vtkSetMacro(LabelRenderMode, int);
41  vtkGetMacro(LabelRenderMode, int);
43 
44 protected:
47 
49 
57 
65 
70 
75  virtual void PrepareForRendering(vtkRenderView* view);
76 
77  friend class vtkRenderView;
78 
80 
81 private:
83  void operator=(const vtkRenderedRepresentation&) = delete;
84 
85  class Internals;
86  Internals* Implementation;
87 };
88 
89 VTK_ABI_NAMESPACE_END
90 #endif
apply colors to a data set.
The superclass for all representations.
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:55
A view containing a renderer.
Definition: vtkRenderView.h:59
create a window for renderers to draw into
~vtkRenderedRepresentation() override
void RemovePropOnNextRender(vtkProp *p)
Subclasses may call these methods to add or remove props from the representation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::string GetHoverString(vtkView *view, vtkProp *prop, vtkIdType cell)
Obtains the hover text for a particular prop and cell.
static vtkRenderedRepresentation * New()
virtual void PrepareForRendering(vtkRenderView *view)
The view will call this method before every render.
virtual std::string GetHoverStringInternal(vtkSelection *)
Subclasses may override this method to generate the hover text.
void AddPropOnNextRender(vtkProp *p)
Subclasses may call these methods to add or remove props from the representation.
data object that represents a "selection" in VTK.
Definition: vtkSelection.h:59
represent text properties.
handles properties associated with a texture map
Definition: vtkTexture.h:67
The superclass for all views.
Definition: vtkView.h:49
@ string
Definition: vtkX3D.h:490
int vtkIdType
Definition: vtkType.h:315