#include <BcfViewpoint.h>
A class that stores and operates a viewpoint data.
Definition at line 71 of file BcfViewpoint.h.
◆ OdBcfViewPoint()
OdBcf::OdBcfViewPoint::OdBcfViewPoint |
( |
| ) |
|
Creates a new viewpoint object with default parameters.
◆ getGuid()
const OdGUID & OdBcf::OdBcfViewPoint::getGuid |
( |
| ) |
const |
Retrieves the viewport's global unique identifier (GUID).
- Returns
- An <exref target="https://docs.opendesign.com/tkernel/OdGUID.html">OdGUID</exref> object that contains the viewport GUID.
◆ getIndex()
const OdInt32 & OdBcf::OdBcfViewPoint::getIndex |
( |
| ) |
const |
Retrieves the viewport index.
- Returns
- A 32-bit integer value that contains the index value.
◆ getSnapshot()
const OdString & OdBcf::OdBcfViewPoint::getSnapshot |
( |
| ) |
const |
Retrieves the value of the Snapshot property of the viewport object.
- Returns
- A string that contains the Snapshot property value.
◆ getViewpoint()
const OdString & OdBcf::OdBcfViewPoint::getViewpoint |
( |
| ) |
const |
Retrieves the viewpoint of the viewport.
- Returns
- A string that contains information about the viewpoint.
◆ inFields()
virtual OdResult OdBcf::OdBcfViewPoint::inFields |
( |
TiXmlElement * |
pParent | ) |
|
|
virtual |
Reads XML data into ODA data structures.
- Parameters
-
pParent | [in] A pointer to the parent element of the data structure. |
- Returns
- eOk if data was successfully read; otherwise, the method returns an appropriate error code.
Implements OdBcf::OdBcfElement.
◆ isGuidUnset()
bool OdBcf::OdBcfViewPoint::isGuidUnset |
( |
| ) |
const |
Defines whether the global unique identifier (GUID) of the viewport object is not initialized.
- Returns
- true if the GUID is not initialized; otherwise, the method returns false.
◆ isIndexUnset()
bool OdBcf::OdBcfViewPoint::isIndexUnset |
( |
| ) |
const |
Defines whether the index of the viewport object is not initialized.
- Returns
- true if the index value is not initialized; otherwise, the method returns false.
◆ isSnapshotUnset()
bool OdBcf::OdBcfViewPoint::isSnapshotUnset |
( |
| ) |
const |
Defines whether the value of the Snapshot property of the viewport object is not initialized.
- Returns
- true if the Snapshot property value is not initialized; otherwise, the method returns false.
◆ isViewpointUnset()
bool OdBcf::OdBcfViewPoint::isViewpointUnset |
( |
| ) |
const |
Defines whether the information about the viewpoint is not initialized.
- Returns
- true if the string with the information about the viewpoint is not initialized; otherwise, the method returns false.
◆ ODRX_DECLARE_MEMBERS()
◆ operator=()
◆ outFields()
virtual OdResult OdBcf::OdBcfViewPoint::outFields |
( |
TiXmlElement * |
pParent | ) |
const |
|
virtual |
Writes data into XML structures.
- Parameters
-
pParent | [in] A pointer to the parent element of the data structure. |
- Returns
- eOk if data was successfully written; otherwise, the method returns an appropriate error code.
Implements OdBcf::OdBcfElement.
◆ validate()
virtual bool OdBcf::OdBcfViewPoint::validate |
( |
| ) |
const |
|
virtual |
Checks whether the viewpoint instance has all required fields initialized.
- Returns
- true if all required fields are initialized; otherwise the method returns false.
Implements OdBcf::OdBcfElement.
◆ OdBcfSession
friend OdBcf::OdBcfViewPoint::OdBcfSession |
|
protected |
The documentation for this class was generated from the following file: