A 3D Dynamic Geometry Software

Calques 3D C++



CAngle3D Class Reference
[Calques 3D - Geometrical Objects]

Inheritance diagram for CAngle3D:

Inheritance graph
Collaboration diagram for CAngle3D:

Collaboration graph

List of all members.


Detailed Description

Construction/Destruction.

Public Member Functions

virtual UINT GetDefID () const
 Get the resource ID of the string containing the definition of the object.
virtual UINT GetHelpID () const
 Get the resource ID of the string containing the designation of the object.
virtual DWORD isA () const
 Get the identifier representing the type of the object.
virtual BOOL ChangeParent (CObject3D *pOld, CObject3D *pNew, BOOL bUpGraph=FALSE)
 Change one of the parents of the object.
virtual void SetSelected (BOOL bSel=TRUE)
 Set the selection flag for the object.
virtual CxObject3DSetGetParents ()
 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 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.

Member Function Documentation

virtual UINT GetDefID (  )  const [inline, virtual]

Get the resource ID of the string containing the definition of the object.

Reimplemented from CValue3D.

Reimplemented in CVolume3D, CArea3D, and CMathOp3D.

virtual UINT GetHelpID (  )  const [inline, virtual]

Get the resource ID of the string containing the designation of the object.

Reimplemented from CValue3D.

Reimplemented in CVolume3D, CArea3D, and CMathOp3D.

virtual DWORD isA (  )  const [inline, virtual]

Get the identifier representing the type of the object.

See TObject3DClass and others identifiers

Reimplemented from CValue3D.

Reimplemented in CVolume3D, CArea3D, and CMathOp3D.

BOOL ChangeParent ( CObject3D pOld,
CObject3D pNew,
BOOL  bUpGraph = FALSE 
) [virtual]

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 CEquation3D.

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 CEquation3D.

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 CEquation3D.

Reimplemented in 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 CValue3D.

Reimplemented in 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 CEquation3D.

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 CEquation3D.

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 CEquation3D.

Reimplemented in CVolume3D, CArea3D, and CMathOp3D.

void DrawMathPad ( CDC *   )  [virtual]

Method CObject3D::DrawMathPad.

Parameters:
pDC A pointer to the device-context associated with the drawing view

Reimplemented from CEquation3D.

Reimplemented in CVolume3D, CArea3D, and CMathOp3D.