CFx SDK Documentation  2023 SP0
PdfPublishCamera.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
26 //
27 // PdfPublishCamera.h
28 //
30 
31 #ifndef _PDF_PUBLISH_CAMERA_INCLUDED_
32 #define _PDF_PUBLISH_CAMERA_INCLUDED_
33 
34 #include "PdfPublishBaseObject.h"
35 
36 //DOM-IGNORE-BEGIN
37 class OdGePoint3d;
38 class OdGeVector3d;
39 //DOM-IGNORE-END
40 
44 namespace OdPdfPublish{
45 
50 {
51 public:
52  //DOM-IGNORE-BEGIN
55  //DOM-IGNORE-END
56 
61 
65  virtual ~OdCamera();
66 
76  void dolly(double x_dir, double up, double forward);
77 
89  void orbit(double theta, double phi);
90 
98  void pan(double theta, double phi);
99 
107  void roll(double theta);
108 
119  void zoom(double zoom);
120 
127  void setField(double width, double height);
128 
139  void setNearLimit(double const limit);
140 
149  void setPosition(const OdGePoint3d& position);
150 
162  void setProjection(Camera::Projection type, double oblique_y_skew = 0., double oblique_x_skew = 0.);
163 
172  void setTarget(const OdGePoint3d& target);
173 
182  void setUpVector(const OdGeVector3d& vector);
183 
194  void getField(double& width, double& height) const;
195 
207  void getNearLimit(double& limit) const;
208 
218  void getPosition(OdGePoint3d& position) const;
219 
232  void getProjection(Camera::Projection& type, double& oblique_y_skew, double& oblique_x_skew) const;
233 
234 
244  void getTarget(OdGePoint3d& target) const;
245 
255  void getUpVector(OdGeVector3d& vector) const;
256 
257 };
258 
263 
264 }
265 #endif // _PDF_PUBLISH_CAMERA_INCLUDED_
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void setTarget(const OdGePoint3d &target)
void setProjection(Camera::Projection type, double oblique_y_skew=0., double oblique_x_skew=0.)
void roll(double theta)
void zoom(double zoom)
void setPosition(const OdGePoint3d &position)
void getUpVector(OdGeVector3d &vector) const
void getPosition(OdGePoint3d &position) const
void pan(double theta, double phi)
void getNearLimit(double &limit) const
ODRX_DECLARE_MEMBERS(OdCamera)
void getField(double &width, double &height) const
void setNearLimit(double const limit)
void orbit(double theta, double phi)
void setUpVector(const OdGeVector3d &vector)
void getProjection(Camera::Projection &type, double &oblique_y_skew, double &oblique_x_skew) const
void dolly(double x_dir, double up, double forward)
void getTarget(OdGePoint3d &target) const
void setField(double width, double height)
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
SMARTPTR(OdFile)