CEquation3D Class Reference
[Calques 3D - Geometrical Objects]


Detailed Description
Construction/Destruction.Public Member Functions | |
| virtual DWORD | isA () const |
| Get the identifier representing the type of the object. | |
| virtual UINT | GetHelpID () const |
| Get the resource ID of the string containing the designation of the object. | |
| virtual BOOL | ChangeParent (CObject3D *pOld, CObject3D *pNew, BOOL bUpGraph=FALSE) |
| Change one of the parents of the object. | |
| virtual CxObject3DSet * | GetParents () |
| Get all the parents of this object from the dependence graph. | |
| virtual void | Serialize (CArchive &ar) |
| Store and load the object into and from an archive. | |
| virtual void | SetSelected (BOOL bSel=TRUE) |
| Set the selection flag for the object. | |
| virtual int | SetProperties (CxObject3DSet *pSet=NULL) |
| Call the property dialog box and modify the object's attributes. | |
| virtual void | CalculVisuel (CVisualParam *) |
| Recompute the graphical representation of the object (in the universe or tracing view). | |
| virtual UINT | CalculConceptuel () |
| Recompute the analytical representation of the object. | |
| virtual void | Draw (CDC *, CVisualParam *vp, BOOL bSm=FALSE) |
| Method CObject3D::Draw. | |
| virtual void | DrawMathPad (CDC *pDC) |
| Method CObject3D::DrawMathPad. | |
| virtual HTREEITEM | DrawHistory (CTreeCtrl &mListCtrl, HTREEITEM pParent=TVI_ROOT) |
| Method CObject3D::DrawHistory. | |
Static Public Member Functions | |
| static CString | FormatNumber (FCoord mValue, BOOL bValide=TRUE, BOOL bSign=FALSE) |
| Method CEquation3D::FormatNumber. | |
Member Function Documentation
| virtual DWORD isA | ( | ) | const [inline, virtual] |
Get the identifier representing the type of the object.
See TObject3DClass and others identifiers
Reimplemented from CText3D.
Reimplemented in CValue3D, CDistance3D, CAngle3D, CVolume3D, CArea3D, CComment3D, and CMathOp3D.
| virtual UINT GetHelpID | ( | ) | const [inline, virtual] |
Get the resource ID of the string containing the designation of the object.
Reimplemented from CText3D.
Reimplemented in CValue3D, CDistance3D, CAngle3D, CVolume3D, CArea3D, CComment3D, and CMathOp3D.
Change one of the parents of the object.
- Parameters:
-
pOld A pointer to the parent object to change. pNew A pointer to the object to replace the current parent with. bUpGraph TRUE if the dependence graph needs to be updated, FALSE otherwise
- Returns:
- TRUE is the parent has been properly changed, FALSE otherwise
Reimplemented from CObject3D.
Reimplemented in CDistance3D, and CAngle3D.
| CxObject3DSet * GetParents | ( | ) | [virtual] |
Get all the parents of this object from the dependence graph.
- Returns:
- A pointer to a list containing the parents, NULL if no parents.
Reimplemented from CObject3D.
Reimplemented in CDistance3D, CAngle3D, and CMathOp3D.
| void Serialize | ( | CArchive & | ar | ) | [virtual] |
Store and load the object into and from an archive.
- Parameters:
-
ar A CArchive object to serialize to or from.
Reimplemented from CText3D.
Reimplemented in CValue3D, CDistance3D, CAngle3D, CComment3D, and CMathOp3D.
| void SetSelected | ( | BOOL | bSel = TRUE |
) | [virtual] |
Set the selection flag for the object.
- Parameters:
-
bSel TRUE if the object is selected, FALSE otherwise
Reimplemented from CObject3D.
Reimplemented in CDistance3D, and CAngle3D.
| int SetProperties | ( | CxObject3DSet * | pSet = NULL |
) | [virtual] |
Call the property dialog box and modify the object's attributes.
- Parameters:
-
pSet A pointer to the list of all objects in the construction.
- Returns:
- TRUE if attributes have been modified, FALSE otherwise
Reimplemented from CText3D.
Reimplemented in CComment3D, and CMathOp3D.
| void CalculVisuel | ( | CVisualParam * | pVisParam | ) | [virtual] |
Recompute the graphical representation of the object (in the universe or tracing view).
- Parameters:
-
pVisParam The visual parameters associated with the view.
Reimplemented from CText3D.
Reimplemented in CDistance3D, CAngle3D, and CComment3D.
| UINT CalculConceptuel | ( | ) | [virtual] |
Recompute the analytical representation of the object.
- Returns:
- 0 if the computation is correct, an error code otherwise.
- See also:
- Description of all Error Codes
Reimplemented from CText3D.
Reimplemented in CDistance3D, CAngle3D, and CComment3D.
| void Draw | ( | CDC * | pDC, | |
| CVisualParam * | vp, | |||
| BOOL | bSm = FALSE | |||
| ) | [virtual] |
Method CObject3D::Draw.
- Parameters:
-
pDC A pointer to the device-context associated with the drawing view vp A pointer to the visual parameters of the view bSm TRUE if the object is displayed in a reduced form, FALSE otherwise
Reimplemented from CText3D.
Reimplemented in CDistance3D, CAngle3D, CVolume3D, CArea3D, CComment3D, and CMathOp3D.
| void DrawMathPad | ( | CDC * | ) | [virtual] |
Method CObject3D::DrawMathPad.
- Parameters:
-
pDC A pointer to the device-context associated with the drawing view
Reimplemented from CObject3D.
Reimplemented in CDistance3D, CAngle3D, CVolume3D, CArea3D, CComment3D, and CMathOp3D.
| HTREEITEM DrawHistory | ( | CTreeCtrl & | mListCtrl, | |
| HTREEITEM | pParent = TVI_ROOT | |||
| ) | [virtual] |
Method CObject3D::DrawHistory.
- Parameters:
-
mListCtrl A reference to the Tree List Control pParent A handler to the parent tree item for this object
- Returns:
- A handler to the tree item associated with this object.
Reimplemented from CText3D.
| CString FormatNumber | ( | FCoord | nValue, | |
| BOOL | bValide = TRUE, |
|||
| BOOL | bSign = FALSE | |||
| ) | [static] |
Method CEquation3D::FormatNumber.
- Parameters:
-
mValue The value bValide TRUE if the source is valide, FALSE otherwise bSign TRUE for displaying the sign, FALSE otherwise
- Returns:
- A CString containing the formatted value



