A 3D Dynamic Geometry Software

Calques 3D C++



CViewUniv Class Reference

Inheritance diagram for CViewUniv:

Inheritance graph
Collaboration diagram for CViewUniv:

Collaboration graph

List of all members.


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

CVisualParamm_pVisParam
 Pointer to the local visualization parameters.
CTaskm_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.
CObject3DpSelectObj
 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

Pointer to the local visualization parameters.

CTask* m_pCurrentTask [private]

Pointer to the current activated task.

CToolTipCtrl m_wndToolTip [private]

Reimplementation of the tooltip.

Control for the horizontal slider.

Control for the vertical slider.

CObject3D* pSelectObj [private]

Pointer to the object currently selected.