You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/3rd/VTK7.1/include/vtkOpenGLLabeledContourMapp...

48 lines
1.5 KiB
C++

/*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLLabeledContourMapper.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkOpenGLLabeledContourMapper
*
* vtkOpenGLLabeledContourMapper is an override for vtkLabeledContourMapper
* that implements stenciling using the OpenGL API.
*/
#ifndef vtkOpenGLLabeledContourMapper_h
#define vtkOpenGLLabeledContourMapper_h
#include "vtkRenderingOpenGLModule.h" // For export macro
#include "vtkLabeledContourMapper.h"
class VTKRENDERINGOPENGL_EXPORT vtkOpenGLLabeledContourMapper
: public vtkLabeledContourMapper
{
public:
static vtkOpenGLLabeledContourMapper *New();
vtkTypeMacro(vtkOpenGLLabeledContourMapper, vtkLabeledContourMapper)
protected:
vtkOpenGLLabeledContourMapper();
~vtkOpenGLLabeledContourMapper();
bool ApplyStencil(vtkRenderer *ren, vtkActor *act);
bool RemoveStencil();
private:
vtkOpenGLLabeledContourMapper(const vtkOpenGLLabeledContourMapper&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLLabeledContourMapper&) VTK_DELETE_FUNCTION;
};
#endif