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

Rendering/vtkOpenGLPolyDataMapper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOpenGLPolyDataMapper.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 =========================================================================*/
00030 #ifndef __vtkOpenGLPolyDataMapper_h
00031 #define __vtkOpenGLPolyDataMapper_h
00032 
00033 #include "vtkPolyDataMapper.h"
00034 
00035 class vtkProperty;
00036 class vtkRenderWindow;
00037 class vtkOpenGLRenderer;
00038 
00039 class VTK_RENDERING_EXPORT vtkOpenGLPolyDataMapper : public vtkPolyDataMapper
00040 {
00041 public:
00042   static vtkOpenGLPolyDataMapper *New();
00043   vtkTypeRevisionMacro(vtkOpenGLPolyDataMapper,vtkPolyDataMapper);
00044   virtual void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047   virtual void RenderPiece(vtkRenderer *ren, vtkActor *a);
00048 
00052   void ReleaseGraphicsResources(vtkWindow *);
00053 
00055   virtual int Draw(vtkRenderer *ren, vtkActor *a);
00056   
00057 protected:
00058   vtkOpenGLPolyDataMapper();
00059   ~vtkOpenGLPolyDataMapper();
00060 
00061   int ListId;
00062 private:
00063   vtkOpenGLPolyDataMapper(const vtkOpenGLPolyDataMapper&);  // Not implemented.
00064   void operator=(const vtkOpenGLPolyDataMapper&);  // Not implemented.
00065 };
00066 
00067 #endif