VTK  9.2.6
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 =========================================================================*/
25 #ifndef vtkMapperNode_h
26 #define vtkMapperNode_h
27 
28 #include "vtkRenderingSceneGraphModule.h" // For export macro
29 #include "vtkViewNode.h"
30 
31 #include <vector> //for results
32 
33 class vtkAbstractArray;
34 class vtkDataSet;
35 class vtkMapper;
36 class vtkPolyData;
37 
38 class VTKRENDERINGSCENEGRAPH_EXPORT vtkMapperNode : public vtkViewNode
39 {
40 public:
41  static vtkMapperNode* New();
42  vtkTypeMacro(vtkMapperNode, vtkViewNode);
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
45 protected:
46  vtkMapperNode();
47  ~vtkMapperNode() override;
48 
49  vtkAbstractArray* GetArrayToProcess(vtkDataSet* input, int& cellFlag);
50 
51 private:
52  vtkMapperNode(const vtkMapperNode&) = delete;
53  void operator=(const vtkMapperNode&) = delete;
54 };
55 
56 #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:90
vtkViewNode specialized for vtkMappers
Definition: vtkMapperNode.h:38
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:87
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:41