CFx SDK Documentation  2020SP3
PdfPublishView.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 // PdfPublishView.h
28 //
30 
31 #ifndef _PDF_PUBLISH_VIEW_INCLUDED_
32 #define _PDF_PUBLISH_VIEW_INCLUDED_
33 
34 #include "PdfPublishBaseObject.h"
35 #include "PdfPublishCamera.h"
36 
40 namespace OdPdfPublish{
41 
46 {
47 public:
48  //DOM-IGNORE-BEGIN
51  //DOM-IGNORE-END
52 
56  OdView();
57 
61  virtual ~OdView();
62 
69 
76 
82  void setCamera(const OdCameraPtr& camera);
83 
90 
97  void setDefault(bool state);
98 
108 
118 
126 
134 
141  void getCamera(OdCameraPtr& camera) const;
142 
152  void getDefault(bool& state) const;
153 
160  void getBackgroundColor(ODCOLORREF& color) const;
161 
171  void getLighting(Lighting::Mode& mode) const;
172 
182  void getRendering(Rendering::Mode& mode) const;
183 
184 };
185 
190 
191 }
192 #endif // _PDF_PUBLISH_VIEW_INCLUDED_
193 
OdPdfPublish::OdView::setBackgroundColor
void setBackgroundColor(ODCOLORREF color)
OdPdfPublish::OdView::setCamera
void setCamera(const OdCameraPtr &camera)
OdString
Definition: OdString.h:95
OdPdfPublish::Lighting::Mode
Mode
Definition: PdfPublishCommon.h:157
OdPdfPublish::OdView::~OdView
virtual ~OdView()
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
OdPdfPublish::OdView::getInternalName
void getInternalName(OdString &name) const
OdPdfPublish::OdView::getCamera
void getCamera(OdCameraPtr &camera) const
OdPdfPublish::OdView::setInternalName
void setInternalName(const OdString &name)
OdPdfPublish::OdView::getLighting
void getLighting(Lighting::Mode &mode) const
OdPdfPublish::OdView::OdView
OdView()
OdPdfPublish::OdView::setRendering
void setRendering(Rendering::Mode mode)
OdPdfPublish::SMARTPTR
SMARTPTR(OdFile)
OdPdfPublish::Rendering::Mode
Mode
Definition: PdfPublishCommon.h:182
PDFPUBLISH_TOOLKIT
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
OdPdfPublish::OdView
Definition: PdfPublishView.h:46
OdPdfPublish::OdView::getBackgroundColor
void getBackgroundColor(ODCOLORREF &color) const
OdPdfPublish
Definition: PdfPublish.h:42
OdPdfPublish::OdView::setLighting
void setLighting(Lighting::Mode mode)
PdfPublishBaseObject.h
PdfPublishCamera.h
ODCOLORREF
#define ODCOLORREF
Definition: OdPlatform.h:883
OdPdfPublish::OdView::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
OdPdfPublish::OdView::getDefault
void getDefault(bool &state) const
OdPdfPublish::OdView::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdView)
OdPdfPublish::OdView::getRendering
void getRendering(Rendering::Mode &mode) const
OdPdfPublish::OdView::getExternalName
void getExternalName(OdString &name) const
OdPdfPublish::OdView::setDefault
void setDefault(bool state)
OdPdfPublish::OdView::setExternalName
void setExternalName(const OdString &name)
OdPdfPublish::OdObject
Definition: PdfPublishBaseObject.h:71