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
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:42
vtkRenderedSurfaceRepresentation::vtkRenderedSurfaceRepresentation
vtkRenderedSurfaceRepresentation()
vtkViewsInfovisModule.h
vtkRenderView
A view containing a renderer.
Definition: vtkRenderView.h:64
vtkRenderedSurfaceRepresentation::~vtkRenderedSurfaceRepresentation
~vtkRenderedSurfaceRepresentation()
vtkRenderedRepresentation
Definition: vtkRenderedRepresentation.h:42
vtkRenderedSurfaceRepresentation::GeometryFilter
vtkGeometryFilter * GeometryFilter
Definition: vtkRenderedSurfaceRepresentation.h:100
vtkRenderedSurfaceRepresentation
Displays a geometric dataset as a surface.
Definition: vtkRenderedSurfaceRepresentation.h:52
vtkGeometryFilter
extract geometry from data (or convert data to polygonal type)
Definition: vtkGeometryFilter.h:67
vtkRenderedSurfaceRepresentation::ApplyColors
vtkApplyColors * ApplyColors
Definition: vtkRenderedSurfaceRepresentation.h:99
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
VTKVIEWSINFOVIS_EXPORT
#define VTKVIEWSINFOVIS_EXPORT
Definition: vtkViewsInfovisModule.h:15
vtkRenderedSurfaceRepresentation::GetCellColorArrayName
virtual const char * GetCellColorArrayName()
Definition: vtkRenderedSurfaceRepresentation.h:61
vtkRenderedSurfaceRepresentation::Mapper
vtkPolyDataMapper * Mapper
Definition: vtkRenderedSurfaceRepresentation.h:101
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkRenderedSurfaceRepresentation::ConvertSelection
virtual vtkSelection * ConvertSelection(vtkView *view, vtkSelection *selection)
vtkApplyColors
apply colors to a data set.
Definition: vtkApplyColors.h:86
vtkSelection
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:45
vtkRenderedSurfaceRepresentation::SetCellColorArrayName
virtual void SetCellColorArrayName(const char *arrayName)
vtkRenderedRepresentation.h
vtkRenderedSurfaceRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkView
The superclass for all views.
Definition: vtkView.h:63
vtkViewTheme
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:48
vtkRenderedSurfaceRepresentation::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkRenderedSurfaceRepresentation::New
static vtkRenderedSurfaceRepresentation * New()
vtkRenderedSurfaceRepresentation::CellColorArrayNameInternal
char * CellColorArrayNameInternal
Definition: vtkRenderedSurfaceRepresentation.h:106
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkScalarsToColors
Superclass for mapping scalar values to colors.
Definition: vtkScalarsToColors.h:63
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkRenderedSurfaceRepresentation::Actor
vtkActor * Actor
Definition: vtkRenderedSurfaceRepresentation.h:102
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkRenderedSurfaceRepresentation::PrepareForRendering
virtual void PrepareForRendering(vtkRenderView *view)
vtkRenderedSurfaceRepresentation::TransformFilter
vtkTransformFilter * TransformFilter
Definition: vtkRenderedSurfaceRepresentation.h:98
vtkTransformFilter
transform points and associated normals and vectors
Definition: vtkTransformFilter.h:49
vtkRenderedSurfaceRepresentation::AddToView
virtual bool AddToView(vtkView *view)
vtkRenderedSurfaceRepresentation::ApplyViewTheme
virtual void ApplyViewTheme(vtkViewTheme *theme)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkRenderedSurfaceRepresentation::RemoveFromView
virtual bool RemoveFromView(vtkView *view)