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

vtkDataSetMapper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataSetMapper.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00046 #ifndef __vtkDataSetMapper_h
00047 #define __vtkDataSetMapper_h
00048 
00049 #include "vtkMapper.h"
00050 
00051 class vtkPolyDataMapper;
00052 class vtkDataSetSurfaceFilter;
00053 
00054 class VTK_RENDERING_EXPORT vtkDataSetMapper : public vtkMapper 
00055 {
00056 public:
00057   static vtkDataSetMapper *New();
00058   vtkTypeRevisionMacro(vtkDataSetMapper,vtkMapper);
00059   void PrintSelf(ostream& os, vtkIndent indent);
00060   void Render(vtkRenderer *ren, vtkActor *act);
00061 
00063 
00065   vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
00067 
00071   void ReleaseGraphicsResources(vtkWindow *);
00072 
00074   unsigned long GetMTime();
00075 
00077 
00078   void SetInput(vtkDataSet *input);
00079   vtkDataSet *GetInput();
00081   
00082 protected:
00083   vtkDataSetMapper();
00084   ~vtkDataSetMapper();
00085 
00086   vtkDataSetSurfaceFilter *GeometryExtractor;
00087   vtkPolyDataMapper *PolyDataMapper;
00088 
00089   virtual void ReportReferences(vtkGarbageCollector*);
00090   virtual void RemoveReferences();
00091 private:
00092   vtkDataSetMapper(const vtkDataSetMapper&);  // Not implemented.
00093   void operator=(const vtkDataSetMapper&);  // Not implemented.
00094 };
00095 
00096 #endif
00097 
00098