VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Views
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 "
vtkRenderedRepresentation.h
"
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
50
class
VTK_VIEWS_EXPORT
vtkRenderedSurfaceRepresentation
:
public
vtkRenderedRepresentation
51
{
52
public
:
53
static
vtkRenderedSurfaceRepresentation
*
New
();
54
vtkTypeMacro(
vtkRenderedSurfaceRepresentation
,
vtkRenderedRepresentation
);
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
:
68
vtkRenderedSurfaceRepresentation
();
69
~
vtkRenderedSurfaceRepresentation
();
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
97
vtkTransformFilter
*
TransformFilter
;
98
vtkApplyColors
*
ApplyColors
;
99
vtkGeometryFilter
*
GeometryFilter
;
100
vtkPolyDataMapper
*
Mapper
;
101
vtkActor
*
Actor
;
103
104
vtkGetStringMacro(CellColorArrayNameInternal);
105
vtkSetStringMacro(CellColorArrayNameInternal);
106
char
*
CellColorArrayNameInternal
;
107
108
private
:
109
vtkRenderedSurfaceRepresentation
(
const
vtkRenderedSurfaceRepresentation
&);
// Not implemented.
110
void
operator=(
const
vtkRenderedSurfaceRepresentation
&);
// Not implemented.
111
};
112
113
#endif
Generated on Wed Nov 21 2012 21:34:07 for VTK by
1.8.2