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

The view 3d control for MFC CView. 更多...

#include <AuView3d.h>

类 AuView3d 继承关系图:
AuView3dAPI

Public 成员函数

virtual void OnChangeCursor (const AnyCAD::API::String &commandId, const AnyCAD::API::String &cursorHint)
 
virtual void OnDraw (CDC *pDC)
 
virtual void OnActivateView (BOOL bActivate, CView *pActivateView, CView *pDeactiveView)
 
virtual void OnInitialUpdate ()
 
afx_msg void OnSize (UINT nType, int cx, int cy)
 
afx_msg void OnDestroy ()
 
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
 
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnMButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnMButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnRButtonUp (UINT nFlags, CPoint point)
 
afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)
 
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
 
afx_msg void OnTimer (UINT_PTR nIDEvent)
 
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
 
afx_msg void OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags)
 
afx_msg void OnChar (UINT nChar, UINT nRepCnt, UINT nFlags)
 
- Public 成员函数 继承自 AuView3dAPI
const AnyCAD::API::View3dGetView () const
 
AnyCAD::API::View3dGetView ()
 
void SetBackgoundColor (const AnyCAD::API::ColorValue &topClr, const AnyCAD::API::ColorValue &midClr, const AnyCAD::API::ColorValue &bottomClr)
 
AnyCAD::API::EntitySceneNode ShowGeometry (const AnyCAD::API::TopoShape &geometry, const AnyCAD::API::ElementId &id, float accurate=0.2)
 
void ShowSceneNode (const AnyCAD::API::SceneNode &node)
 
AnyCAD::API::SceneNode FindSceneNode (const AnyCAD::API::ElementId &id) const
 
void RemoveSenceNode (const AnyCAD::API::SceneNode &node)
 
void RequestDraw (int hint=1)
 
bool ExecuteCommand (const AnyCAD::API::String &commandId, const AnyCAD::API::String &params="")
 

Protected 成员函数

 AuView3d ()
 
virtual ~AuView3d ()
 
- Protected 成员函数 继承自 AuView3dAPI
 AuView3dAPI ()
 
virtual ~AuView3dAPI ()
 

Protected 属性

bool m_bInitialized
 
- Protected 属性 继承自 AuView3dAPI
AnyCAD::API::View3d m_View3d
 
bool m_bHandleMouseMessage
 
const UINT_PTR m_RenderTimerId
 
UINT m_RenderTick
 

详细描述

The view 3d control for MFC CView.

构造及析构函数说明

AuView3d::AuView3d ( )
protected
virtual AuView3d::~AuView3d ( )
protectedvirtual

成员函数说明

virtual void AuView3d::OnActivateView ( BOOL  bActivate,
CView *  pActivateView,
CView *  pDeactiveView 
)
virtual
virtual void AuView3d::OnChangeCursor ( const AnyCAD::API::String commandId,
const AnyCAD::API::String cursorHint 
)
virtual
afx_msg void AuView3d::OnChar ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
afx_msg void AuView3d::OnDestroy ( )
virtual void AuView3d::OnDraw ( CDC *  pDC)
virtual
afx_msg BOOL AuView3d::OnEraseBkgnd ( CDC *  pDC)
virtual void AuView3d::OnInitialUpdate ( )
virtual
afx_msg void AuView3d::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
afx_msg void AuView3d::OnKeyUp ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
afx_msg void AuView3d::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)
afx_msg void AuView3d::OnLButtonUp ( UINT  nFlags,
CPoint  point 
)
afx_msg void AuView3d::OnMButtonDown ( UINT  nFlags,
CPoint  point 
)
afx_msg void AuView3d::OnMButtonUp ( UINT  nFlags,
CPoint  point 
)
afx_msg void AuView3d::OnMouseMove ( UINT  nFlags,
CPoint  point 
)
afx_msg BOOL AuView3d::OnMouseWheel ( UINT  nFlags,
short  zDelta,
CPoint  pt 
)
afx_msg void AuView3d::OnRButtonDown ( UINT  nFlags,
CPoint  point 
)
afx_msg void AuView3d::OnRButtonUp ( UINT  nFlags,
CPoint  point 
)
afx_msg void AuView3d::OnSize ( UINT  nType,
int  cx,
int  cy 
)
afx_msg void AuView3d::OnTimer ( UINT_PTR  nIDEvent)

类成员变量说明

bool AuView3d::m_bInitialized
protected

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