|
CFx SDK Documentation
2020SP3
|
#include <PdfPublishView.h>
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Protected Member Functions inherited from OdPdfPublish::OdObject | |
| OdObject (OdPublishObjectImpl *pImpl) | |
This class implements a view entity for .pdf documents created with Teigha Publish.
Definition at line 45 of file PdfPublishView.h.
| OdPdfPublish::OdView::OdView | ( | ) |
Creates a view object.
|
virtual |
Destroys a view object.
| void OdPdfPublish::OdView::getBackgroundColor | ( | ODCOLORREF & | color | ) | const |
Returns current view background color. The method fills a passed ODCOLORREF value and returns it to a calling subroutine.
| color | [out] A placeholder for the background color value. |
| void OdPdfPublish::OdView::getCamera | ( | OdCameraPtr & | camera | ) | const |
Returns current view camera. The method fills a passed smart pointer to a camera object and returns it to a calling subroutine.
| camera | [out] A placeholder for the smart pointer to the camera object. |
| void OdPdfPublish::OdView::getDefault | ( | bool & | state | ) | const |
Returns the current default flag value. The method fills a passed boolean value and returns it to a calling subroutine.
| state | [out] A placeholder for the default flag value. |
Returns current external name of the view. The method fills a passed string object and returns it to a calling subroutine.
| name | [out] A placeholder for the name value. |
Returns current internal name of the view. The method fills a passed string object and returns it to a calling subroutine.
| name | [out] A placeholder for the name value. |
| void OdPdfPublish::OdView::getLighting | ( | Lighting::Mode & | mode | ) | const |
Returns current view lighting mode. The method fills a passed lighting mode value and returns it to a calling subroutine.
| mode | [out] A placeholder for the lighting mode value. |
| void OdPdfPublish::OdView::getRendering | ( | Rendering::Mode & | mode | ) | const |
Returns current view rendering mode. The method fills a passed rendering mode value and returns it to a calling subroutine.
| mode | [out] A placeholder for the rendering mode value. |
| OdPdfPublish::OdView::ODRX_DECLARE_MEMBERS | ( | OdView | ) |
| OdPdfPublish::OdView::ODRX_HEAP_OPERATORS | ( | ) |
| void OdPdfPublish::OdView::setBackgroundColor | ( | ODCOLORREF | color | ) |
Sets the view background color.
| color | [in] A background color value. |
| void OdPdfPublish::OdView::setCamera | ( | const OdCameraPtr & | camera | ) |
Sets the view camera.
| camera | [in] A smart pointer to the camera object. |
| void OdPdfPublish::OdView::setDefault | ( | bool | state | ) |
Sets a flag that determines whether the view is the default. If the flag value is equal to true, the view is the default, otherwise it is not.
| state | [in] A new default flag value. |
Sets an external name of the view.
| name | [in] A new name value. |
Sets an internal name of the view.
| name | [in] A new name value. |
| void OdPdfPublish::OdView::setLighting | ( | Lighting::Mode | mode | ) |
Sets the view lighting mode.
| mode | [in] A new lighting mode value. |
| void OdPdfPublish::OdView::setRendering | ( | Rendering::Mode | mode | ) |
Sets the view rendering mode.
| mode | [in] A new rendering mode value. |