VTK
vtkDataSetMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetMapper.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 =========================================================================*/
32 #ifndef __vtkDataSetMapper_h
33 #define __vtkDataSetMapper_h
34 
35 #include "vtkMapper.h"
36 
37 class vtkPolyDataMapper;
39 
41 {
42 public:
43  static vtkDataSetMapper *New();
44  vtkTypeMacro(vtkDataSetMapper,vtkMapper);
45  void PrintSelf(ostream& os, vtkIndent indent);
46  void Render(vtkRenderer *ren, vtkActor *act);
47 
49 
51  vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
53 
58 
60  unsigned long GetMTime();
61 
63 
64  void SetInput(vtkDataSet *input);
67 
68 protected:
71 
74 
76 
77  // see algorithm for more info
79 
80 private:
81  vtkDataSetMapper(const vtkDataSetMapper&); // Not implemented.
82  void operator=(const vtkDataSetMapper&); // Not implemented.
83 };
84 
85 #endif
86 
87