Public Member Functions | |
| HRESULT | GetCoordinateSystemLocal ([in] IRsObjectList *pObjectList,[in] BSTR szCoordSystemName,[out] RtMatrixf *pMatrix) |
| HRESULT | GetCoordinateSystemGlobal ([in] IRsObjectList *pObjectList,[in] BSTR szCoordSystemName,[out] RtMatrixf *pMatrix) |
| HRESULT | GetReferencePosition ([in] IRsObjectList *pObjectList,[in] BSTR szCoordSystemName,[out] RtPoint *pPos) |
| HRESULT | GetBoundingBox ([in] IRsObjectList *pObjectList,[in] BSTR szCoordSystemName,[in] RtMatrixf *pCoordSys,[out] RtBoundingBox *pBoundingBox) |
| HRESULT | UpdateBoundingBox ([in] IRsObjectList *pObjectList) |
| HRESULT | RegisterObject ([in] IRsObject *pObj) |
| HRESULT | UnregisterObject ([in] IRsObject *pObj) |
| HRESULT IRsCoordinateSystemEvaluator::GetCoordinateSystemLocal | ( | [in] IRsObjectList * | pObjectList, | |
| [in] BSTR | szCoordSystemName, | |||
| [out] RtMatrixf * | pMatrix | |||
| ) |
Calculate specified coordinate system using local object properties like selections etc.
| pObjectList | [in] List of objects for which coordinate system is requested. | |
| szCoordSystemName | [in] Name of desired coordinate system. | |
| pMatrix | [out] Calculated coordinate system. |
| HRESULT IRsCoordinateSystemEvaluator::GetCoordinateSystemGlobal | ( | [in] IRsObjectList * | pObjectList, | |
| [in] BSTR | szCoordSystemName, | |||
| [out] RtMatrixf * | pMatrix | |||
| ) |
Calculate specified coordinate system.
| pObjectList | [in] List of objects for which coordinate system is requested. | |
| szCoordSystemName | [in] Name of desired coordinate system. | |
| pMatrix | [out] Calculated coordinate system. |
| HRESULT IRsCoordinateSystemEvaluator::GetReferencePosition | ( | [in] IRsObjectList * | pObjectList, | |
| [in] BSTR | szCoordSystemName, | |||
| [out] RtPoint * | pPos | |||
| ) |
Calculate selection reference position.
| pObjectList | [in] List of objects for which coordinate system is requested. | |
| szCoordSystemName | [in] Coordinate system name. Hint: NULL specifies default. | |
| pPos | [out] Calculated reference position. |
S_FALSE if reference position is valid, but invalid to show widget (can be used to align view etc).
otherwise Standard HRESULT processing will be applied for returned code.
| HRESULT IRsCoordinateSystemEvaluator::GetBoundingBox | ( | [in] IRsObjectList * | pObjectList, | |
| [in] BSTR | szCoordSystemName, | |||
| [in] RtMatrixf * | pCoordSys, | |||
| [out] RtBoundingBox * | pBoundingBox | |||
| ) |
Calculate bounding box in specified coordinate system.
| pObjectList | [in] List of objects for which bounding box is requested. | |
| szCoordSys | [in] Coordinate system. | |
| pBoundingBox | [out] Calculated bounding box. |
| HRESULT IRsCoordinateSystemEvaluator::UpdateBoundingBox | ( | [in] IRsObjectList * | pObjectList | ) |
Update bounding box structures for bbox calculation.
| pObjectList | [in] List of objects for which bounding box is requested. |
| HRESULT IRsCoordinateSystemEvaluator::RegisterObject | ( | [in] IRsObject * | pObj | ) |
Register object to evaluator and enable object coord system caching.
| pObj | [in] Object for which to create caches. |
| HRESULT IRsCoordinateSystemEvaluator::UnregisterObject | ( | [in] IRsObject * | pObj | ) |
Unregister from evaluator and disable object coord system caching for it.
| pObj | [in] Object for which to destroy cache. |
1.5.5