VTK  9.4.20241221
vtkRenderedSurfaceRepresentation.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
18#ifndef vtkRenderedSurfaceRepresentation_h
19#define vtkRenderedSurfaceRepresentation_h
20
22#include "vtkViewsInfovisModule.h" // For export macro
23
24VTK_ABI_NAMESPACE_BEGIN
25class vtkActor;
27class vtkApplyColors;
28class vtkDataObject;
31class vtkRenderView;
33class vtkSelection;
35class vtkView;
36
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
47 virtual void SetCellColorArrayName(const char* arrayName);
48 virtual const char* GetCellColorArrayName() { return this->GetCellColorArrayNameInternal(); }
49
53 void ApplyViewTheme(vtkViewTheme* theme) override;
54
55protected:
58
62 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
63 vtkInformationVector* outputVector) override;
64
68 void PrepareForRendering(vtkRenderView* view) override;
69
74 bool AddToView(vtkView* view) override;
75
80 bool RemoveFromView(vtkView* view) override;
81
87 vtkSelection* ConvertSelection(vtkView* view, vtkSelection* selection) override;
88
90
99
100 vtkGetStringMacro(CellColorArrayNameInternal);
101 vtkSetStringMacro(CellColorArrayNameInternal);
103
104private:
106 void operator=(const vtkRenderedSurfaceRepresentation&) = delete;
107};
108
109VTK_ABI_NAMESPACE_END
110#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
Proxy object to connect input/output ports.
apply colors to a data set.
general representation of visualization data
extract boundary geometry from dataset (or convert data to polygonal type)
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
map vtkPolyData to graphics primitives
A view containing a renderer.
Displays a geometric dataset as a surface.
bool AddToView(vtkView *view) override
Adds the representation to the view.
vtkSelection * ConvertSelection(vtkView *view, vtkSelection *selection) override
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotat...
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.
vtkApplyColors * ApplyColors
Internal pipeline objects.
vtkGeometryFilter * GeometryFilter
Internal pipeline objects.
void PrepareForRendering(vtkRenderView *view) override
Performs per-render operations.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Sets the input pipeline connection to this representation.
vtkActor * Actor
Internal pipeline objects.
vtkPolyDataMapper * Mapper
Internal pipeline objects.
void ApplyViewTheme(vtkViewTheme *theme) override
Apply a theme to this representation.
virtual void SetCellColorArrayName(const char *arrayName)
Sets the color array name.
vtkTransformFilter * TransformFilter
Internal pipeline objects.
static vtkRenderedSurfaceRepresentation * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for mapping scalar values to colors.
data object that represents a "selection" in VTK.
transform points and associated normals and vectors
Sets theme colors for a graphical view.
The superclass for all views.
Definition vtkView.h:50