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

# Rendering/vtkMesaPolyDataMapper.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkMesaPolyDataMapper.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 __vtkMesaPolyDataMapper_h
    00045 #define __vtkMesaPolyDataMapper_h
    00046
    00047 #include "vtkPolyDataMapper.h"
    00048
    00049 class vtkProperty;
    00050 class vtkRenderWindow;
    00051 class vtkMesaRenderer;
    00052 class vtkTimerLog;
    00053
    00054 class VTK_RENDERING_EXPORT vtkMesaPolyDataMapper : public vtkPolyDataMapper
    00055 {
    00056 public:
    00057   static vtkMesaPolyDataMapper *New();
    00058   vtkTypeRevisionMacro(vtkMesaPolyDataMapper,vtkPolyDataMapper);
    00059   virtual void PrintSelf(ostream& os, vtkIndent indent);
    00060
    00062   virtual void RenderPiece(vtkRenderer *ren, vtkActor *a);
    00063
    00067   void ReleaseGraphicsResources(vtkWindow *);
    00068
    00070   virtual int Draw(vtkRenderer *ren, vtkActor *a);
    00071
    00072 protected:
    00073   vtkMesaPolyDataMapper();
    00074   ~vtkMesaPolyDataMapper();
    00075
    00076   int ListId;
    00077   vtkRenderWindow *RenderWindow;   // RenderWindow used for the previous render
    00078 private:
    00079   vtkMesaPolyDataMapper(const vtkMesaPolyDataMapper&);  // Not implemented.
    00080   void operator=(const vtkMesaPolyDataMapper&);  // Not implemented.
    00081 };
    00082
    00083 #endif