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

Rendering/vtkOpenGLCamera.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOpenGLCamera.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 =========================================================================*/
00037 #ifndef __vtkOpenGLCamera_h
00038 #define __vtkOpenGLCamera_h
00039 
00040 #include "vtkCamera.h"
00041 
00042 class vtkOpenGLRenderer;
00043 
00044 class VTK_RENDERING_EXPORT vtkOpenGLCamera : public vtkCamera
00045 {
00046 public:
00047   static vtkOpenGLCamera *New();
00048   vtkTypeRevisionMacro(vtkOpenGLCamera,vtkCamera);
00049   virtual void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052   void Render(vtkRenderer *ren);
00053 
00054   void UpdateViewport(vtkRenderer *ren);
00055   
00056 protected:  
00057   vtkOpenGLCamera() {};
00058   ~vtkOpenGLCamera() {};
00059 private:
00060   vtkOpenGLCamera(const vtkOpenGLCamera&);  // Not implemented.
00061   void operator=(const vtkOpenGLCamera&);  // Not implemented.
00062 };
00063 
00064 #endif