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 
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:49
vtkDataSetSurfaceFilter * GeometryExtractor
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition: vtkMapper.h:105
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
abstract specification for renderers
Definition: vtkRenderer.h:69
Detect and break reference loops.
virtual void ReportReferences(vtkGarbageCollector *)
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
map vtkDataSet and derived classes to graphics primitives
a simple class to control print indentation
Definition: vtkIndent.h:37
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:85
#define VTK_RENDERING_EXPORT
vtkPolyDataMapper * PolyDataMapper
map vtkPolyData to graphics primitives
unsigned long GetMTime()
static vtkAlgorithm * New()
vtkDataSet * GetInput()
Extracts outer (polygonal) surface.
virtual void Render(vtkRenderer *ren, vtkActor *a)=0