VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkStandardPolyDataPainter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkStandardPolyDataPainter.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 2004 Sandia Corporation.
17
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
18
* license for use of this work by or on behalf of the
19
* U.S. Government. Redistribution and use in source and binary forms, with
20
* or without modification, are permitted provided that this Notice and any
21
* statement of authorship are reproduced on all copies.
22
*/
23
39
#ifndef __vtkStandardPolyDataPainter_h
40
#define __vtkStandardPolyDataPainter_h
41
42
#include "
vtkPolyDataPainter.h
"
43
44
class
vtkCellArray
;
45
class
vtkDataArray
;
46
class
vtkPointData
;
47
class
vtkPoints
;
48
class
vtkShaderDeviceAdapter
;
49
class
vtkGLSLShaderDeviceAdapter2
;
50
51
class
VTK_RENDERING_EXPORT
vtkStandardPolyDataPainter
:
public
vtkPolyDataPainter
52
{
53
public
:
54
vtkTypeMacro(
vtkStandardPolyDataPainter
,
vtkPolyDataPainter
);
55
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
56
static
vtkStandardPolyDataPainter
*
New
();
57
58
void
AddMultiTextureCoordsArray(
vtkDataArray
* array);
59
//BTX
60
protected
:
61
vtkStandardPolyDataPainter
();
62
~
vtkStandardPolyDataPainter
();
63
65
67
virtual
void
RenderInternal
(
vtkRenderer
* renderer,
vtkActor
* actor,
68
unsigned
long
typeflags,
bool
forceCompileOnly);
70
71
void
DrawCells(
int
mode
,
vtkCellArray
*connectivity,
72
vtkIdType
startCellId,
73
vtkShaderDeviceAdapter
*shaderDevice,
74
vtkGLSLShaderDeviceAdapter2
*shaderDevice2,
75
vtkRenderer
*renderer,
76
int
buildnormals,
int
interpolation);
77
80
virtual
void
ProcessInformation
(
vtkInformation
*);
81
82
void
UpdateGenericAttributesCache(
vtkShaderDeviceAdapter
*shaderDevice,
83
vtkGLSLShaderDeviceAdapter2
*shaderDevice2);
84
85
vtkIdType
TotalCells
;
86
private
:
87
vtkStandardPolyDataPainter
(
const
vtkStandardPolyDataPainter
&);
// Not implemented.
88
void
operator=(
const
vtkStandardPolyDataPainter
&);
// Not implemented.
89
90
class
vtkInternal;
91
vtkInternal* Internal;
92
//ETX
93
};
94
95
#endif //__vtkStandardPolyDataPainter_h
Generated on Wed May 30 2012 13:22:23 for VTK by
1.8.1