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 -------------------------------------------------------------------------*/
33 #ifndef __vtkRenderedSurfaceRepresentation_h
34 #define __vtkRenderedSurfaceRepresentation_h
35 
37 
38 class vtkActor;
39 class vtkAlgorithmOutput;
40 class vtkApplyColors;
41 class vtkDataObject;
42 class vtkGeometryFilter;
43 class vtkPolyDataMapper;
44 class vtkRenderView;
45 class vtkScalarsToColors;
46 class vtkSelection;
47 class vtkTransformFilter;
48 class vtkView;
49 
51 {
52 public:
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58 
59  virtual void SetCellColorArrayName(const char* arrayName);
60  virtual const char* GetCellColorArrayName()
61  { return this->GetCellColorArrayNameInternal(); }
63 
65  virtual void ApplyViewTheme(vtkViewTheme* theme);
66 
67 protected:
70 
72 
73  virtual int RequestData(
74  vtkInformation* request,
75  vtkInformationVector** inputVector,
76  vtkInformationVector* outputVector);
78 
80  virtual void PrepareForRendering(vtkRenderView* view);
81 
84  virtual bool AddToView(vtkView* view);
85 
88  virtual bool RemoveFromView(vtkView* view);
89 
93  virtual vtkSelection* ConvertSelection(vtkView* view, vtkSelection* selection);
94 
96 
103 
104  vtkGetStringMacro(CellColorArrayNameInternal);
105  vtkSetStringMacro(CellColorArrayNameInternal);
107 
108 private:
110  void operator=(const vtkRenderedSurfaceRepresentation&); // Not implemented.
111 };
112 
113 #endif
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
virtual vtkSelection * ConvertSelection(vtkView *view, vtkSelection *selection)
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:49
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:43
virtual bool AddToView(vtkView *vtkNotUsed(view))
#define VTK_VIEWS_EXPORT
static vtkRenderedRepresentation * New()
Proxy object to connect input/output ports.
Superclass for mapping scalar values into colors.
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:46
The superclass for all views.
Definition: vtkView.h:61
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual bool RemoveFromView(vtkView *vtkNotUsed(view))
virtual void PrepareForRendering(vtkRenderView *view)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
map vtkPolyData to graphics primitives
A view containing a renderer.
Definition: vtkRenderView.h:62
transform points and associated normals and vectors
Store zero or more vtkInformation instances.
apply colors to a data set.
extract geometry from data (or convert data to polygonal type)
Displays a geometric dataset as a surface.
general representation of visualization data
Definition: vtkDataObject.h:70