VTK
vtkMapperNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMapperNode.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 =========================================================================*/
22 #ifndef vtkMapperNode_h
23 #define vtkMapperNode_h
24 
25 #include "vtkRenderingSceneGraphModule.h" // For export macro
26 #include "vtkViewNode.h"
27 
28 #include <vector> //for results
29 
30 class vtkAbstractArray;
31 class vtkDataSet;
32 class vtkMapper;
33 class vtkPolyData;
34 
35 class VTKRENDERINGSCENEGRAPH_EXPORT vtkMapperNode :
36  public vtkViewNode
37 {
38 public:
39  static vtkMapperNode* New();
40  vtkTypeMacro(vtkMapperNode, vtkViewNode);
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
43 protected:
44  vtkMapperNode();
45  ~vtkMapperNode();
46 
47  vtkAbstractArray *GetArrayToProcess
48  (vtkDataSet* input, int& association);
49 
50 private:
51  vtkMapperNode(const vtkMapperNode&) = delete;
52  void operator=(const vtkMapperNode&) = delete;
53 };
54 
55 #endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
Abstract superclass for all arrays.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
vtkViewNode specialized for vtkMappers
Definition: vtkMapperNode.h:35
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:86
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
a node within a VTK scene graph
Definition: vtkViewNode.h:40