35 #ifndef IECOREGL_ORTHOGRAPHICCAMERA_H
36 #define IECOREGL_ORTHOGRAPHICCAMERA_H
38 #include "IECoreGL/Export.h"
39 #include "IECoreGL/Camera.h"
44 class IECOREGL_API OrthographicCamera :
public Camera
49 OrthographicCamera(
const Imath::M44f &transform = Imath::M44f(),
50 const Imath::V2i &resolution = Imath::V2i( 640, 480 ),
51 const Imath::Box2f &screenWindow = Imath::Box2f( Imath::V2f( -1 ), Imath::V2f( 1 ) ),
52 const Imath::V2f &clippingPlanes = Imath::V2f( 0.1, 1000 )
55 IE_CORE_DECLARERUNTIMETYPEDEXTENSION( IECoreGL::OrthographicCamera, OrthographicCameraTypeId, Camera );
57 void render( State *currentState )
const override;
61 IE_CORE_DECLAREPTR( OrthographicCamera );
65 #endif // IECOREGL_ORTHOGRAPHICCAMERA_H
The namespace within which all CoreGL functionality is defined.
Definition: AlphaTexture.h:41