VTK
vtkPolyDataPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataPainter.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 
43 #ifndef vtkPolyDataPainter_h
44 #define vtkPolyDataPainter_h
45 
46 #include "vtkRenderingOpenGLModule.h" // For export macro
47 #include "vtkPainter.h"
48 
51 class vtkPolyData;
52 
54 {
55 public:
57  virtual void PrintSelf(ostream &os, vtkIndent indent);
58 
61 
65 
70 
73 
74  // Set the mapping between vtkPointData (vtkCellData) arrays and
75  // generic vertex attributes.
77 
80 
82 
84  virtual void Render(vtkRenderer* renderer, vtkActor* actor,
85  unsigned long typeflags, bool forceCompileOnly);
87 
88 protected:
91 
92  int BuildNormals; // ivar synchornized with this->Information before
93  // RenderInternal() is called. The ivar are purposefully protected,
94  // the only way to affecting these from outside should be using
95  // the information object.
96  vtkSetMacro(BuildNormals, int);
97 
101 
102 private:
103  vtkPolyDataPainter(const vtkPolyDataPainter &); // Not implemented.
104  void operator=(const vtkPolyDataPainter &); // Not implemented.
105 };
106 
107 #endif //_vtkPolyDataPainter_h
vtkPolyDataPainter::BUILD_NORMALS
static vtkInformationIntegerKey * BUILD_NORMALS()
vtkPolyDataPainter::~vtkPolyDataPainter
~vtkPolyDataPainter()
vtkPolyDataPainter::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkPolyDataPainter::vtkPolyDataPainter
vtkPolyDataPainter()
vtkPolyDataPainter::GetOutputAsPolyData
vtkPolyData * GetOutputAsPolyData()
vtkPolyDataPainter::SHADER_DEVICE_ADAPTOR
static vtkInformationObjectBaseKey * SHADER_DEVICE_ADAPTOR()
vtkRenderingOpenGLModule.h
vtkPolyDataPainter
Abstract class for drawing poly data.
Definition: vtkPolyDataPainter.h:54
vtkPolyDataPainter::ProcessInformation
virtual void ProcessInformation(vtkInformation *)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPolyDataPainter::BuildNormals
int BuildNormals
Definition: vtkPolyDataPainter.h:92
vtkPolyDataPainter::DISABLE_SCALAR_COLOR
static vtkInformationIntegerKey * DISABLE_SCALAR_COLOR()
vtkInformationObjectBaseKey
Key for vtkObjectBase values.
Definition: vtkInformationObjectBaseKey.h:33
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:34
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPainter
Abstract class for drawing poly data.
Definition: vtkPainter.h:64
vtkPainter.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkPolyDataPainter::Render
virtual void Render(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkPolyDataPainter::GetInputAsPolyData
vtkPolyData * GetInputAsPolyData()
vtkPolyDataPainter::DATA_ARRAY_TO_VERTEX_ATTRIBUTE
static vtkInformationObjectBaseKey * DATA_ARRAY_TO_VERTEX_ATTRIBUTE()
VTKRENDERINGOPENGL_EXPORT
#define VTKRENDERINGOPENGL_EXPORT
Definition: vtkRenderingOpenGLModule.h:15