CViewUniv Class Reference
Inheritance diagram for CViewUniv:

Collaboration diagram for CViewUniv:

Detailed Description
Display the complete construction in a 2½D environment.This is the main interface for creating, visualizing and manipulation geometrical constructions in Calques 3D.
Protected Member Functions | |
| virtual void | OnDraw (CDC *pDC) |
| Method CViewUniv::OnDraw. | |
| virtual void | OnUpdate (CView *pSender, LPARAM lHint, CObject *pHint) |
| afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
| ASSERT(m_arrNames != NULL);. | |
Private Attributes | |
| CVisualParam * | m_pVisParam |
| Pointer to the local visualization parameters. | |
| CTask * | m_pCurrentTask |
| Pointer to the current activated task. | |
| CToolTipCtrl | m_wndToolTip |
| Reimplementation of the tooltip. | |
| CBCGPSliderToolbar | m_wndHorizBar |
| Control for the horizontal slider. | |
| CBCGPSliderToolbar | m_wndVertBar |
| Control for the vertical slider. | |
| CObject3D * | pSelectObj |
| Pointer to the object currently selected. | |
Member Function Documentation
| void OnDraw | ( | CDC * | rDC | ) | [protected, virtual] |
Method CViewUniv::OnDraw.
Note that the order of drawing the various component of the universe is important, as there is no implementation of a facet-ordering algorithm. Scene rendering is done in a ad-hoc fashion by:
- first drawing the System of Reference
- second calculating the positions and drawing the polygons (if any)
- third drawing the remaining objects
- and finally drawing any visual feedbacks coming from the current task
Reimplemented in CViewCalque.
| void OnUpdate | ( | CView * | pSender, | |
| LPARAM | lHint, | |||
| CObject * | pHint | |||
| ) | [protected, virtual] |
pWnd->GetPropertyBar()->AddProperties(NULL);
| BOOL OnMouseWheel | ( | UINT | nFlags, | |
| short | zDelta, | |||
| CPoint | pt | |||
| ) | [protected] |
ASSERT(m_arrNames != NULL);.
Member Data Documentation
CVisualParam* m_pVisParam [private] |
Pointer to the local visualization parameters.
CTask* m_pCurrentTask [private] |
Pointer to the current activated task.
CToolTipCtrl m_wndToolTip [private] |
Reimplementation of the tooltip.
CBCGPSliderToolbar m_wndHorizBar [private] |
Control for the horizontal slider.
CBCGPSliderToolbar m_wndVertBar [private] |
Control for the vertical slider.
CObject3D* pSelectObj [private] |
Pointer to the object currently selected.



