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 "vtkRenderingCoreModule.h" // For export macro
36 #include "vtkMapper.h"
37 
38 class vtkPolyDataMapper;
40 
42 {
43 public:
44  static vtkDataSetMapper *New();
45  vtkTypeMacro(vtkDataSetMapper, vtkMapper);
46  void PrintSelf(ostream& os, vtkIndent indent);
47  void Render(vtkRenderer *ren, vtkActor *act);
48 
50 
52  vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
54 
59 
61  unsigned long GetMTime();
62 
64 
65  void SetInputData(vtkDataSet *input);
68 
69 protected:
72 
75 
77 
78  // see algorithm for more info
80 
81 private:
82  vtkDataSetMapper(const vtkDataSetMapper&); // Not implemented.
83  void operator=(const vtkDataSetMapper&); // Not implemented.
84 };
85 
86 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
vtkDataSetSurfaceFilter * GeometryExtractor
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition: vtkMapper.h:109
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
abstract specification for renderers
Definition: vtkRenderer.h:63
Detect and break reference loops.
virtual void ReportReferences(vtkGarbageCollector *)
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
map vtkDataSet and derived classes to graphics primitives
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int FillInputPortInformation(int port, vtkInformation *info)
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:89
vtkPolyDataMapper * PolyDataMapper
map vtkPolyData to graphics primitives
#define VTKRENDERINGCORE_EXPORT
unsigned long GetMTime()
static vtkAlgorithm * New()
vtkDataSet * GetInput()
Extracts outer (polygonal) surface.
virtual void Render(vtkRenderer *ren, vtkActor *a)=0