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