Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Rendering/vtkDataSetMapper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataSetMapper.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00036 #ifndef __vtkDataSetMapper_h
00037 #define __vtkDataSetMapper_h
00038 
00039 #include "vtkMapper.h"
00040 
00041 class vtkPolyDataMapper;
00042 class vtkDataSetSurfaceFilter;
00043 
00044 class VTK_RENDERING_EXPORT vtkDataSetMapper : public vtkMapper 
00045 {
00046 public:
00047   static vtkDataSetMapper *New();
00048   vtkTypeRevisionMacro(vtkDataSetMapper,vtkMapper);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050   void Render(vtkRenderer *ren, vtkActor *act);
00051 
00053 
00055   vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
00057 
00061   void ReleaseGraphicsResources(vtkWindow *);
00062 
00064   unsigned long GetMTime();
00065 
00067 
00068   void SetInput(vtkDataSet *input);
00069   vtkDataSet *GetInput();
00071   
00072 protected:
00073   vtkDataSetMapper();
00074   ~vtkDataSetMapper();
00075 
00076   vtkDataSetSurfaceFilter *GeometryExtractor;
00077   vtkPolyDataMapper *PolyDataMapper;
00078 private:
00079   vtkDataSetMapper(const vtkDataSetMapper&);  // Not implemented.
00080   void operator=(const vtkDataSetMapper&);  // Not implemented.
00081 };
00082 
00083 #endif
00084 
00085