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
40#ifndef vtkStandardPolyDataPainter_h
41#define vtkStandardPolyDataPainter_h
42
43#include "vtkRenderingOpenGLModule.h" // For export macro
44#include "vtkPolyDataPainter.h"
45
46class vtkCellArray;
47class vtkDataArray;
48class vtkPointData;
49class vtkPoints;
51
52class VTKRENDERINGOPENGL_EXPORT vtkStandardPolyDataPainter : public vtkPolyDataPainter
53{
54public:
56 virtual void PrintSelf(ostream &os, vtkIndent indent);
58
60
61protected:
64
69 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
70 unsigned long typeflags, bool forceCompileOnly);
71
72 void DrawCells(int mode, vtkCellArray *connectivity,
73 vtkIdType startCellId,
74 vtkShaderDeviceAdapter2 *shaderDevice2,
75 vtkRenderer *renderer,
76 int buildnormals, int interpolation);
77
83
85
87private:
89 void operator=(const vtkStandardPolyDataPainter&) VTK_DELETE_FUNCTION;
90
91 class vtkInternal;
92 vtkInternal* Internal;
93
94};
95
96#endif //vtkStandardPolyDataPainter_h
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:52
object to represent cell connectivity
Definition: vtkCellArray.h:51
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
a simple class to control print indentation
Definition: vtkIndent.h:40
Store vtkAlgorithm input/output information.
represent and manipulate point attribute data
Definition: vtkPointData.h:38
represent and manipulate 3D points
Definition: vtkPoints.h:40
Abstract class for drawing poly data.
abstract specification for renderers
Definition: vtkRenderer.h:64
an adapter to pass generic vertex attributes to the rendering pipeline.
A standard implementation of vtkPolyDataPainter.
void AddMultiTextureCoordsArray(vtkDataArray *array)
static vtkStandardPolyDataPainter * New()
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Generates rendering primitives of appropriate type(s).
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
void UpdateGenericAttributesCache(vtkShaderDeviceAdapter2 *shaderDevice2)
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void DrawCells(int mode, vtkCellArray *connectivity, vtkIdType startCellId, vtkShaderDeviceAdapter2 *shaderDevice2, vtkRenderer *renderer, int buildnormals, int interpolation)
@ mode
Definition: vtkX3D.h:247
int vtkIdType
Definition: vtkType.h:287