VTK  9.2.6
vtkRenderedSurfaceRepresentation.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkRenderedSurfaceRepresentation.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-------------------------------------------------------------------------*/
34#ifndef vtkRenderedSurfaceRepresentation_h
35#define vtkRenderedSurfaceRepresentation_h
36
38#include "vtkViewsInfovisModule.h" // For export macro
39
40class vtkActor;
42class vtkApplyColors;
43class vtkDataObject;
46class vtkRenderView;
48class vtkSelection;
50class vtkView;
51
53{
54public:
57 void PrintSelf(ostream& os, vtkIndent indent) override;
58
62 virtual void SetCellColorArrayName(const char* arrayName);
63 virtual const char* GetCellColorArrayName() { return this->GetCellColorArrayNameInternal(); }
64
68 void ApplyViewTheme(vtkViewTheme* theme) override;
69
70protected:
73
77 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
78 vtkInformationVector* outputVector) override;
79
83 void PrepareForRendering(vtkRenderView* view) override;
84
89 bool AddToView(vtkView* view) override;
90
95 bool RemoveFromView(vtkView* view) override;
96
102 vtkSelection* ConvertSelection(vtkView* view, vtkSelection* selection) override;
103
105
114
115 vtkGetStringMacro(CellColorArrayNameInternal);
116 vtkSetStringMacro(CellColorArrayNameInternal);
118
119private:
121 void operator=(const vtkRenderedSurfaceRepresentation&) = delete;
122};
123
124#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:52
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:40
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:64