AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::DBView类 参考

TODO: 更多...

#include <APIDBView.h>

类 AnyCAD::API::DBView 继承关系图:
AnyCAD::API::Element AnyCAD::API::Object

Public 成员函数

void SetViewType (const EnumStandardView &_ViewType)
 
EnumStandardView GetViewType () const
 
void SetStandalone (bool _Standalone)
 
bool GetStandalone () const
 
void SetAmbientLight (const ColorValue &_AmbientLight)
 
ColorValue GetAmbientLight () const
 
void SetLightPosition (const Vector3 &_LightPosition)
 
Vector3 GetLightPosition () const
 
void SetEnableLight (bool _EnableLight)
 
bool GetEnableLight () const
 
void SetSkyBoxId (const String &_SkyBoxId)
 
String GetSkyBoxId () const
 
void SetCameraPosition (const Vector3 &_CameraPosition)
 
Vector3 GetCameraPosition () const
 
void SetLookAtPosition (const Vector3 &_LookAtPosition)
 
Vector3 GetLookAtPosition () const
 
void SetModelLayerId (const ElementId &_ModelLayerId)
 
ElementId GetModelLayerId () const
 
void SetAnnotationLayerId (const ElementId &_AnnotationLayerId)
 
ElementId GetAnnotationLayerId () const
 
void SetViewSpecificLayerId (const ElementId &_ViewSpecificLayerId)
 
ElementId GetViewSpecificLayerId () const
 
void SetReferencePlaneId (const ElementId &_ReferencePlaneId)
 
ElementId GetReferencePlaneId () const
 
void SetDefaultLabelRadius (Real _DefaultLabelRadius)
 
Real GetDefaultLabelRadius () const
 
void AddViewElement (const RenderableElement &pElement)
 
bool IsElementVisible (const ElementId &id) const
 
- Public 成员函数 继承自 AnyCAD::API::Element
ElementId GetId () const
 
String GetName () const
 
void SetName (const String &strName)
 
String GetCategory () const
 
void SetCategory (const String &category)
 
virtual bool SetParameterValue (ParameterId paramId, const ParameterValue &pValue)
 
virtual ParameterValue GetParameterValue (ParameterId paramId) const
 
ParameterUISet GetSystemParameterUISet () const
 
Document GetOwnerDocument () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

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.

参数
pElementthe element to show.
ColorValue AnyCAD::API::DBView::GetAmbientLight ( ) const

Get AmbientLight.

返回
the AmbientLight.
ElementId AnyCAD::API::DBView::GetAnnotationLayerId ( ) const

Get AnnotationLayerId.

返回
the AnnotationLayerId.
Vector3 AnyCAD::API::DBView::GetCameraPosition ( ) const

Get CameraPosition.

返回
the CameraPosition.
Real AnyCAD::API::DBView::GetDefaultLabelRadius ( ) const

Get DefaultLabelRadius.

返回
the DefaultLabelRadius.
bool AnyCAD::API::DBView::GetEnableLight ( ) const

Get EnableLight.

返回
the EnableLight.
Vector3 AnyCAD::API::DBView::GetLightPosition ( ) const

Get LightPosition.

返回
the LightPosition.
Vector3 AnyCAD::API::DBView::GetLookAtPosition ( ) const

Get LookAtPosition.

返回
the LookAtPosition.
ElementId AnyCAD::API::DBView::GetModelLayerId ( ) const

Get ModelLayerId.

返回
the ModelLayerId.
ElementId AnyCAD::API::DBView::GetReferencePlaneId ( ) const

Get ReferencePlaneId.

返回
the ReferencePlaneId.
String AnyCAD::API::DBView::GetSkyBoxId ( ) const

Get SkyBoxId.

返回
the SkyBoxId.
bool AnyCAD::API::DBView::GetStandalone ( ) const

Get Standalone.

返回
the Standalone.
ElementId AnyCAD::API::DBView::GetViewSpecificLayerId ( ) const

Get ViewSpecificLayerId.

返回
the ViewSpecificLayerId.
EnumStandardView AnyCAD::API::DBView::GetViewType ( ) const

Get ViewType.

返回
the ViewType.
bool AnyCAD::API::DBView::IsElementVisible ( const ElementId id) const

If the element id visible in this view.

参数
idthe element id.
返回
true if visible.
void AnyCAD::API::DBView::SetAmbientLight ( const ColorValue _AmbientLight)

Set the AmbientLight.

参数
_AmbientLightthe AmbientLight.
void AnyCAD::API::DBView::SetAnnotationLayerId ( const ElementId _AnnotationLayerId)

Set the AnnotationLayerId.

参数
_AnnotationLayerIdthe AnnotationLayerId.
void AnyCAD::API::DBView::SetCameraPosition ( const Vector3 _CameraPosition)

Set the CameraPosition.

参数
_CameraPositionthe CameraPosition.
void AnyCAD::API::DBView::SetDefaultLabelRadius ( Real  _DefaultLabelRadius)

Set the DefaultLabelRadius.

参数
_DefaultLabelRadiusthe DefaultLabelRadius.
void AnyCAD::API::DBView::SetEnableLight ( bool  _EnableLight)

Set the EnableLight.

参数
_EnableLightthe EnableLight.
void AnyCAD::API::DBView::SetLightPosition ( const Vector3 _LightPosition)

Set the LightPosition.

参数
_LightPositionthe LightPosition.
void AnyCAD::API::DBView::SetLookAtPosition ( const Vector3 _LookAtPosition)

Set the LookAtPosition.

参数
_LookAtPositionthe LookAtPosition.
void AnyCAD::API::DBView::SetModelLayerId ( const ElementId _ModelLayerId)

Set the ModelLayerId.

参数
_ModelLayerIdthe ModelLayerId.
void AnyCAD::API::DBView::SetReferencePlaneId ( const ElementId _ReferencePlaneId)

Set the ReferencePlaneId.

参数
_ReferencePlaneIdthe ReferencePlaneId.
void AnyCAD::API::DBView::SetSkyBoxId ( const String _SkyBoxId)

Set the SkyBoxId.

参数
_SkyBoxIdthe SkyBoxId.
void AnyCAD::API::DBView::SetStandalone ( bool  _Standalone)

Set the Standalone.

参数
_Standalonethe Standalone.
void AnyCAD::API::DBView::SetViewSpecificLayerId ( const ElementId _ViewSpecificLayerId)

Set the ViewSpecificLayerId.

参数
_ViewSpecificLayerIdthe ViewSpecificLayerId.
void AnyCAD::API::DBView::SetViewType ( const EnumStandardView _ViewType)

Set the ViewType.

参数
_ViewTypethe ViewType.

该类的文档由以下文件生成: