A 3D Dynamic Geometry Software

Calques 3D C++



CViewCalque Class Reference

Inheritance diagram for CViewCalque:

Inheritance graph
Collaboration diagram for CViewCalque:

Collaboration graph

List of all members.


Detailed Description

Display a subset of the construction in a view similar to the universe.

This view has all the features of the Universe view (from which it inherits) except that no construction is allowed.


Protected Member Functions

virtual void OnDraw (CDC *pDC)
 Method CViewUniv::OnDraw.
afx_msg void OnUpdateTasks (CCmdUI *pCmdUI)
 Override CViewUniv::OnUpdateTasks by disabling all construction tasks.

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 from CViewUniv.

void OnUpdateTasks ( CCmdUI *  pCmdUI  )  [protected]

Override CViewUniv::OnUpdateTasks by disabling all construction tasks.

Parameters:
pCmdUI A pointer to the command handler

Reimplemented from CViewUniv.