Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

vtkGlyphMapper.h

00001 
00011 #ifndef __vtkGlyphMapper_h
00012 #define __vtkGlyphMapper_h
00013 
00014 #include "vtkPolyDataMapper2D.h"
00015 #include "vtkDataSet.h"
00016 #include "vtkPolyData.h"
00017 
00018 class VTK_EXPORT vtkGlyphMapper : public vtkMapper2D
00019 {
00020 public:
00021   static vtkGlyphMapper *New();
00022 
00023   vtkTypeMacro(vtkGlyphMapper,vtkMapper2D);
00024   void PrintSelf(ostream& os, vtkIndent indent);
00025   
00027   void RenderOpaqueGeometry(vtkViewport* viewport, vtkActor2D* actor);
00028   void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor);
00029 
00031   vtkSetObjectMacro(Input, vtkDataSet);
00032   vtkGetObjectMacro(Input, vtkDataSet);
00033 
00035   vtkSetObjectMacro(Source, vtkPolyData);
00036   vtkGetObjectMacro(Source, vtkPolyData);
00037 
00041   virtual void ReleaseGraphicsResources(vtkWindow *);
00042 
00043 protected:
00044   vtkGlyphMapper();
00045   ~vtkGlyphMapper();
00046   vtkGlyphMapper(const vtkGlyphMapper&) {};
00047   void operator=(const vtkGlyphMapper&) {};
00048 
00049   vtkDataSet *Input;
00050   vtkPolyData *Source;
00051   vtkTimeStamp BuildTime;
00052 
00053 private:
00054   int NumberOfGlyphs;
00055   int NumberOfGlyphsAllocated;
00056   vtkPolyDataMapper2D **Mappers;
00057 
00058 };
00059 
00060 #endif // __vtkGlyphMapper_h
00061 

Generated at Tue Sep 26 18:33:59 2000 for Grid Edit by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000