• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Rendering/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 =========================================================================*/
00029 #ifndef __vtkDataSetMapper_h
00030 #define __vtkDataSetMapper_h
00031 
00032 #include "vtkMapper.h"
00033 
00034 class vtkPolyDataMapper;
00035 class vtkDataSetSurfaceFilter;
00036 
00037 class VTK_RENDERING_EXPORT vtkDataSetMapper : public vtkMapper 
00038 {
00039 public:
00040   static vtkDataSetMapper *New();
00041   vtkTypeRevisionMacro(vtkDataSetMapper,vtkMapper);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043   void Render(vtkRenderer *ren, vtkActor *act);
00044 
00046 
00048   vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
00050 
00054   void ReleaseGraphicsResources(vtkWindow *);
00055 
00057   unsigned long GetMTime();
00058 
00060 
00061   void SetInput(vtkDataSet *input);
00062   vtkDataSet *GetInput();
00064   
00065 protected:
00066   vtkDataSetMapper();
00067   ~vtkDataSetMapper();
00068 
00069   vtkDataSetSurfaceFilter *GeometryExtractor;
00070   vtkPolyDataMapper *PolyDataMapper;
00071 
00072   virtual void ReportReferences(vtkGarbageCollector*);
00073 
00074   // see algorithm for more info
00075   virtual int FillInputPortInformation(int port, vtkInformation* info);
00076 
00077 private:
00078   vtkDataSetMapper(const vtkDataSetMapper&);  // Not implemented.
00079   void operator=(const vtkDataSetMapper&);  // Not implemented.
00080 };
00081 
00082 #endif
00083 
00084 

Generated by  doxygen 1.7.1