VTK
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
37#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);
58
62 virtual void SetCellColorArrayName(const char* arrayName);
63 virtual const char* GetCellColorArrayName()
64 { return this->GetCellColorArrayNameInternal(); }
65
69 virtual void ApplyViewTheme(vtkViewTheme* theme);
70
71protected:
74
78 virtual int RequestData(
79 vtkInformation* request,
80 vtkInformationVector** inputVector,
81 vtkInformationVector* outputVector);
82
87
92 virtual bool AddToView(vtkView* view);
93
98 virtual bool RemoveFromView(vtkView* view);
99
106
108
117
118 vtkGetStringMacro(CellColorArrayNameInternal);
119 vtkSetStringMacro(CellColorArrayNameInternal);
121
122private:
124 void operator=(const vtkRenderedSurfaceRepresentation&) VTK_DELETE_FUNCTION;
125};
126
127#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
Definition: vtkDataObject.h:65
extract geometry from data (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.
Definition: vtkRenderView.h:62
Displays a geometric dataset as a surface.
virtual bool RemoveFromView(vtkView *view)
Removes the representation to the view.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Sets the input pipeline connection to this representation.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual vtkSelection * ConvertSelection(vtkView *view, vtkSelection *selection)
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotat...
virtual bool AddToView(vtkView *view)
Adds the representation to the view.
virtual void SetCellColorArrayName(const char *arrayName)
Sets the color array name.
virtual void ApplyViewTheme(vtkViewTheme *theme)
Apply a theme to this representation.
vtkTransformFilter * TransformFilter
Internal pipeline objects.
virtual void PrepareForRendering(vtkRenderView *view)
Performs per-render operations.
static vtkRenderedSurfaceRepresentation * New()
Superclass for mapping scalar values to colors.
A node in a selection tree.
Definition: vtkSelection.h:44
transform points and associated normals and vectors
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:49
The superclass for all views.
Definition: vtkView.h:61
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.