Rendering/vtkOpenGLPolyDataMapper.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00044 #ifndef __vtkOpenGLPolyDataMapper_h
    00045 #define __vtkOpenGLPolyDataMapper_h
    00046
    00047 #include "vtkPolyDataMapper.h"
    00048
    00049 class vtkProperty;
    00050 class vtkRenderWindow;
    00051 class vtkOpenGLRenderer;
    00052
    00053 class VTK_RENDERING_EXPORT vtkOpenGLPolyDataMapper : public vtkPolyDataMapper
    00054 {
    00055 public:
    00056   static vtkOpenGLPolyDataMapper *New();
    00057   vtkTypeRevisionMacro(vtkOpenGLPolyDataMapper,vtkPolyDataMapper);
    00058   virtual void PrintSelf(ostream& os, vtkIndent indent);
    00059
    00061   virtual void RenderPiece(vtkRenderer *ren, vtkActor *a);
    00062
    00066   void ReleaseGraphicsResources(vtkWindow *);
    00067
    00069   virtual int Draw(vtkRenderer *ren, vtkActor *a);
    00070
    00071 protected:
    00072   vtkOpenGLPolyDataMapper();
    00073   ~vtkOpenGLPolyDataMapper();
    00074
    00075   int ListId;
    00076 private:
    00077   vtkOpenGLPolyDataMapper(const vtkOpenGLPolyDataMapper&);  // Not implemented.
    00078   void operator=(const vtkOpenGLPolyDataMapper&);  // Not implemented.
    00079 };
    00080
    00081 #endif