Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00038 #ifndef __vtkOpenGLCamera_h
    00039 #define __vtkOpenGLCamera_h
    00040
    00041 #include "vtkCamera.h"
    00042
    00043 class vtkOpenGLRenderer;
    00044
    00045 class VTK_RENDERING_EXPORT vtkOpenGLCamera : public vtkCamera
    00046 {
    00047 public:
    00048   static vtkOpenGLCamera *New();
    00049   vtkTypeRevisionMacro(vtkOpenGLCamera,vtkCamera);
    00050   virtual void PrintSelf(ostream& os, vtkIndent indent);
    00051
    00053   void Render(vtkRenderer *ren);
    00054
    00055   void UpdateViewport(vtkRenderer *ren);
    00056
    00057 protected:
    00058   vtkOpenGLCamera() {};
    00059   ~vtkOpenGLCamera() {};
    00060 private:
    00061   vtkOpenGLCamera(const vtkOpenGLCamera&);  // Not implemented.
    00062   void operator=(const vtkOpenGLCamera&);  // Not implemented.
    00063 };
    00064
    00065 #endif