VTK
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 "vtkRenderingOpenGLModule.h" // For export macro
43 #include "vtkPolyDataPainter.h"
44 
45 class vtkCellArray;
46 class vtkDataArray;
47 class vtkPointData;
48 class vtkPoints;
50 
52 {
53 public:
55  virtual void PrintSelf(ostream &os, vtkIndent indent);
57 
58  void AddMultiTextureCoordsArray(vtkDataArray * array);
59 //BTX
60 protected:
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  vtkShaderDeviceAdapter2 *shaderDevice2,
74  vtkRenderer *renderer,
75  int buildnormals, int interpolation);
76 
79  virtual void ProcessInformation(vtkInformation*);
80 
81  void UpdateGenericAttributesCache(vtkShaderDeviceAdapter2 *shaderDevice2);
82 
84 private:
85  vtkStandardPolyDataPainter(const vtkStandardPolyDataPainter&); // Not implemented.
86  void operator=(const vtkStandardPolyDataPainter&); // Not implemented.
87 
88  class vtkInternal;
89  vtkInternal* Internal;
90 //ETX
91 };
92 
93 #endif //vtkStandardPolyDataPainter_h
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
represent and manipulate point attribute data
Definition: vtkPointData.h:36
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
A standard implementation of vtkPolyDataPainter.
Store vtkAlgorithm input/output information.
abstract specification for renderers
Definition: vtkRenderer.h:63
int vtkIdType
Definition: vtkType.h:275
virtual void ProcessInformation(vtkInformation *)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
virtual void PrintSelf(ostream &os, vtkIndent indent)
object to represent cell connectivity
Definition: vtkCellArray.h:49
an adapter to pass generic vertex attributes to the rendering pipeline. .SECTION This class is an ada...
static vtkObject * New()
represent and manipulate 3D points
Definition: vtkPoints.h:38
Abstract class for drawing poly data.