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 
36 #include "vtkViewsInfovisModule.h" // For export macro
38 
39 class vtkActor;
40 class vtkAlgorithmOutput;
41 class vtkApplyColors;
42 class vtkDataObject;
43 class vtkGeometryFilter;
44 class vtkPolyDataMapper;
45 class vtkRenderView;
46 class vtkScalarsToColors;
47 class vtkSelection;
48 class vtkTransformFilter;
49 class vtkView;
50 
52 {
53 public:
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
60  virtual void SetCellColorArrayName(const char* arrayName);
61  virtual const char* GetCellColorArrayName()
62  { return this->GetCellColorArrayNameInternal(); }
64 
66  virtual void ApplyViewTheme(vtkViewTheme* theme);
67 
68 protected:
71 
73 
74  virtual int RequestData(
75  vtkInformation* request,
76  vtkInformationVector** inputVector,
77  vtkInformationVector* outputVector);
79 
81  virtual void PrepareForRendering(vtkRenderView* view);
82 
85  virtual bool AddToView(vtkView* view);
86 
89  virtual bool RemoveFromView(vtkView* view);
90 
94  virtual vtkSelection* ConvertSelection(vtkView* view, vtkSelection* selection);
95 
97 
104 
105  vtkGetStringMacro(CellColorArrayNameInternal);
106  vtkSetStringMacro(CellColorArrayNameInternal);
108 
109 private:
111  void operator=(const vtkRenderedSurfaceRepresentation&); // Not implemented.
112 };
113 
114 #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:50
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:44
virtual bool AddToView(vtkView *vtkNotUsed(view))
static vtkRenderedRepresentation * New()
Proxy object to connect input/output ports.
Superclass for mapping scalar values to colors.
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:47
The superclass for all views.
Definition: vtkView.h:62
a simple class to control print indentation
Definition: vtkIndent.h:38
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:63
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:64
#define VTKVIEWSINFOVIS_EXPORT