You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.4 KiB
51 lines
1.4 KiB
2 years ago
|
/*=========================================================================
|
||
|
|
||
|
Program: Visualization Toolkit
|
||
|
Module: $RCSfile: vtkOpenGLActor.h,v $
|
||
|
|
||
|
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.
|
||
|
|
||
|
=========================================================================*/
|
||
|
// .NAME vtkOpenGLActor - OpenGL actor
|
||
|
// .SECTION Description
|
||
|
// vtkOpenGLActor is a concrete implementation of the abstract class vtkActor.
|
||
|
// vtkOpenGLActor interfaces to the OpenGL rendering library.
|
||
|
|
||
|
#ifndef __vtkOpenGLActor_h
|
||
|
#define __vtkOpenGLActor_h
|
||
|
|
||
|
#include "vtkActor.h"
|
||
|
|
||
|
class vtkOpenGLRenderer;
|
||
|
|
||
|
class VTK_RENDERING_EXPORT vtkOpenGLActor : public vtkActor
|
||
|
{
|
||
|
protected:
|
||
|
|
||
|
public:
|
||
|
static vtkOpenGLActor *New();
|
||
|
vtkTypeRevisionMacro(vtkOpenGLActor,vtkActor);
|
||
|
virtual void PrintSelf(ostream& os, vtkIndent indent);
|
||
|
|
||
|
// Description:
|
||
|
// Actual actor render method.
|
||
|
void Render(vtkRenderer *ren, vtkMapper *mapper);
|
||
|
|
||
|
protected:
|
||
|
vtkOpenGLActor() {};
|
||
|
~vtkOpenGLActor() {};
|
||
|
|
||
|
private:
|
||
|
vtkOpenGLActor(const vtkOpenGLActor&); // Not implemented.
|
||
|
void operator=(const vtkOpenGLActor&); // Not implemented.
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|