VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Views
Infovis
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
37
#include "
vtkRenderedRepresentation.h
"
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
51
class
VTKVIEWSINFOVIS_EXPORT
vtkRenderedSurfaceRepresentation
:
public
vtkRenderedRepresentation
52
{
53
public
:
54
static
vtkRenderedSurfaceRepresentation
*
New
();
55
vtkTypeMacro(
vtkRenderedSurfaceRepresentation
,
vtkRenderedRepresentation
);
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
:
69
vtkRenderedSurfaceRepresentation
();
70
~
vtkRenderedSurfaceRepresentation
();
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
98
vtkTransformFilter
*
TransformFilter
;
99
vtkApplyColors
*
ApplyColors
;
100
vtkGeometryFilter
*
GeometryFilter
;
101
vtkPolyDataMapper
*
Mapper
;
102
vtkActor
*
Actor
;
104
105
vtkGetStringMacro
(CellColorArrayNameInternal);
106
vtkSetStringMacro(CellColorArrayNameInternal);
107
char
*
CellColorArrayNameInternal
;
108
109
private
:
110
vtkRenderedSurfaceRepresentation
(
const
vtkRenderedSurfaceRepresentation
&);
// Not implemented.
111
void
operator=(
const
vtkRenderedSurfaceRepresentation
&);
// Not implemented.
112
};
113
114
#endif
Generated on Thu May 24 2012 22:22:38 for VTK by
1.8.1