TODO: 更多...
#include <APIDBView.h>
TODO:
The view save in document
void AnyCAD::API::DBView::AddViewElement | ( | const RenderableElement & | pElement | ) |
Add view-specific element. the element is only visible in this view.
pElement | the element to show. |
ColorValue AnyCAD::API::DBView::GetAmbientLight | ( | ) | const |
Get AmbientLight.
ElementId AnyCAD::API::DBView::GetAnnotationLayerId | ( | ) | const |
Get AnnotationLayerId.
Vector3 AnyCAD::API::DBView::GetCameraPosition | ( | ) | const |
Get CameraPosition.
Real AnyCAD::API::DBView::GetDefaultLabelRadius | ( | ) | const |
Get DefaultLabelRadius.
bool AnyCAD::API::DBView::GetEnableLight | ( | ) | const |
Get EnableLight.
Vector3 AnyCAD::API::DBView::GetLightPosition | ( | ) | const |
Get LightPosition.
Vector3 AnyCAD::API::DBView::GetLookAtPosition | ( | ) | const |
Get LookAtPosition.
ElementId AnyCAD::API::DBView::GetModelLayerId | ( | ) | const |
Get ModelLayerId.
ElementId AnyCAD::API::DBView::GetReferencePlaneId | ( | ) | const |
Get ReferencePlaneId.
String AnyCAD::API::DBView::GetSkyBoxId | ( | ) | const |
Get SkyBoxId.
bool AnyCAD::API::DBView::GetStandalone | ( | ) | const |
Get Standalone.
ElementId AnyCAD::API::DBView::GetViewSpecificLayerId | ( | ) | const |
Get ViewSpecificLayerId.
EnumStandardView AnyCAD::API::DBView::GetViewType | ( | ) | const |
Get ViewType.
bool AnyCAD::API::DBView::IsElementVisible | ( | const ElementId & | id | ) | const |
If the element id visible in this view.
id | the element id. |
void AnyCAD::API::DBView::SetAmbientLight | ( | const ColorValue & | _AmbientLight | ) |
Set the AmbientLight.
_AmbientLight | the AmbientLight. |
void AnyCAD::API::DBView::SetAnnotationLayerId | ( | const ElementId & | _AnnotationLayerId | ) |
Set the AnnotationLayerId.
_AnnotationLayerId | the AnnotationLayerId. |
void AnyCAD::API::DBView::SetCameraPosition | ( | const Vector3 & | _CameraPosition | ) |
Set the CameraPosition.
_CameraPosition | the CameraPosition. |
void AnyCAD::API::DBView::SetDefaultLabelRadius | ( | Real | _DefaultLabelRadius | ) |
Set the DefaultLabelRadius.
_DefaultLabelRadius | the DefaultLabelRadius. |
void AnyCAD::API::DBView::SetEnableLight | ( | bool | _EnableLight | ) |
Set the EnableLight.
_EnableLight | the EnableLight. |
void AnyCAD::API::DBView::SetLightPosition | ( | const Vector3 & | _LightPosition | ) |
Set the LightPosition.
_LightPosition | the LightPosition. |
void AnyCAD::API::DBView::SetLookAtPosition | ( | const Vector3 & | _LookAtPosition | ) |
Set the LookAtPosition.
_LookAtPosition | the LookAtPosition. |
void AnyCAD::API::DBView::SetModelLayerId | ( | const ElementId & | _ModelLayerId | ) |
Set the ModelLayerId.
_ModelLayerId | the ModelLayerId. |
void AnyCAD::API::DBView::SetReferencePlaneId | ( | const ElementId & | _ReferencePlaneId | ) |
Set the ReferencePlaneId.
_ReferencePlaneId | the ReferencePlaneId. |
void AnyCAD::API::DBView::SetSkyBoxId | ( | const String & | _SkyBoxId | ) |
Set the SkyBoxId.
_SkyBoxId | the SkyBoxId. |
void AnyCAD::API::DBView::SetStandalone | ( | bool | _Standalone | ) |
Set the Standalone.
_Standalone | the Standalone. |
void AnyCAD::API::DBView::SetViewSpecificLayerId | ( | const ElementId & | _ViewSpecificLayerId | ) |
Set the ViewSpecificLayerId.
_ViewSpecificLayerId | the ViewSpecificLayerId. |
void AnyCAD::API::DBView::SetViewType | ( | const EnumStandardView & | _ViewType | ) |
Set the ViewType.
_ViewType | the ViewType. |