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/vtkClipPlanesPainter.h

61 lines
1.7 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkClipPlanesPainter.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 vtkClipPlanesPainter
* @brief abstract class defining interface for
* painter that manages clipping.
*/
#ifndef vtkClipPlanesPainter_h
#define vtkClipPlanesPainter_h
#include "vtkRenderingOpenGLModule.h" // For export macro
#include "vtkPainter.h"
class vtkInformationObjectBaseKey;
class vtkPlaneCollection;
class VTKRENDERINGOPENGL_EXPORT vtkClipPlanesPainter : public vtkPainter
{
public:
static vtkClipPlanesPainter* New();
vtkTypeMacro(vtkClipPlanesPainter, vtkPainter);
void PrintSelf(ostream& os, vtkIndent indent);
/**
* Get/Set the vtkPlaneCollection which specifies the clipping planes.
*/
static vtkInformationObjectBaseKey* CLIPPING_PLANES();
protected:
vtkClipPlanesPainter();
~vtkClipPlanesPainter();
/**
* Called before RenderInternal() if the Information has been changed
* since the last time this method was called.
*/
virtual void ProcessInformation(vtkInformation*);
void SetClippingPlanes(vtkPlaneCollection*);
vtkPlaneCollection* ClippingPlanes;
private:
vtkClipPlanesPainter(const vtkClipPlanesPainter&) VTK_DELETE_FUNCTION;
void operator=(const vtkClipPlanesPainter&) VTK_DELETE_FUNCTION;
};
#endif