VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL/vtkOpenGLLabeledContourMapper.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkOpenGLLabeledContourMapper.h
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 =========================================================================*/
00021 #ifndef __vtkOpenGLLabelContourMapper_h
00022 #define __vtkOpenGLLabelContourMapper_h
00023 
00024 #include "vtkRenderingOpenGLModule.h" // For export macro
00025 #include "vtkLabeledContourMapper.h"
00026 
00027 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLLabeledContourMapper
00028     : public vtkLabeledContourMapper
00029 {
00030 public:
00031   static vtkOpenGLLabeledContourMapper *New();
00032   vtkTypeMacro(vtkOpenGLLabeledContourMapper, vtkLabeledContourMapper)
00033 
00034 protected:
00035   vtkOpenGLLabeledContourMapper();
00036   ~vtkOpenGLLabeledContourMapper();
00037 
00038   bool ApplyStencil(vtkRenderer *ren, vtkActor *act);
00039   bool RemoveStencil();
00040 
00041 private:
00042   vtkOpenGLLabeledContourMapper(const vtkOpenGLLabeledContourMapper&);  // Not implemented.
00043   void operator=(const vtkOpenGLLabeledContourMapper&);  // Not implemented.
00044 
00045   void DrawFullScreenQuad(vtkRenderer *ren);
00046 };
00047 
00048 #endif