A 3D Dynamic Geometry Software

Calques 3D C++



CText3D Class Reference
[Calques 3D - Geometrical Objects]

Inheritance diagram for CText3D:

Inheritance graph
Collaboration diagram for CText3D:

Collaboration graph

List of all members.


Detailed Description

Construction/Destruction.

Public Member Functions

 CText3D ()
 extern CxObject3DSet* GLOBALObjectSet;
virtual CObject3DCopyObject ()
 Create a clone of this object.
virtual void Serialize (CArchive &ar)
 Store and load the object into and from an archive.
virtual DWORD isA () const
 Get the identifier representing the type of the object.
virtual UINT GetNameID () const
 Get the resource ID of the string containing the default name of the object.
virtual UINT GetHelpID () const
 Get the resource ID of the string containing the designation of the object.
virtual UINT GetDefID () const
 Get the resource ID of the string containing the definition of the object.
virtual BOOL IsInActiveArea (CPoint)
 Verify if the cursor lies within the active region of this object.
virtual CRgn * InvalideRect ()
 Create a GDI region covering this object.
virtual int SetProperties (CxObject3DSet *pSet=NULL)
 Call the property dialog box and modify the object's attributes.
virtual void SetColor (COLORREF rColor)
 Set the color of the object.
virtual UINT CalculConceptuel ()
 Recompute the analytical representation of the object.
virtual void CalculVisuel (CVisualParam *)
 Recompute the graphical representation of the object (in the universe or tracing view).
virtual void Draw (CDC *, CVisualParam *vp, BOOL bSm=FALSE)
 Method CObject3D::Draw.
virtual HTREEITEM DrawHistory (CTreeCtrl &mListCtrl, HTREEITEM pParent=TVI_ROOT)
 Method CObject3D::DrawHistory.
virtual void DrawDepGraph (CDC *pDC, CImageList *pImgList=NULL, int nTrace=GRAPH_NONE, BOOL bDrawNode=TRUE, BOOL bDrawLink=TRUE)
 Method CObject3D::DrawDepGraph.

Constructor & Destructor Documentation

CText3D (  ) 

extern CxObject3DSet* GLOBALObjectSet;


Member Function Documentation

CObject3D * CopyObject (  )  [virtual]

Create a clone of this object.

Returns:
A pointer to the clone of this object.

Reimplemented from CObject3D.

Reimplemented in CLabel3D.

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

Reimplemented in CLabel3D, CEquation3D, CValue3D, CDistance3D, CAngle3D, CComment3D, and CMathOp3D.

virtual DWORD isA (  )  const [inline, virtual]

Get the identifier representing the type of the object.

See TObject3DClass and others identifiers

Reimplemented from CObject3D.

Reimplemented in CLabel3D, CEquation3D, CValue3D, CDistance3D, CAngle3D, CVolume3D, CArea3D, CComment3D, and CMathOp3D.

virtual UINT GetNameID (  )  const [inline, virtual]

Get the resource ID of the string containing the default name of the object.

Reimplemented from CObject3D.

virtual UINT GetHelpID (  )  const [inline, virtual]

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

Reimplemented from CObject3D.

Reimplemented in CEquation3D, CValue3D, CDistance3D, CAngle3D, CVolume3D, CArea3D, CComment3D, and CMathOp3D.

virtual UINT GetDefID (  )  const [inline, virtual]

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

Reimplemented from CObject3D.

Reimplemented in CValue3D, CDistance3D, CAngle3D, CVolume3D, CArea3D, and CMathOp3D.

BOOL IsInActiveArea ( CPoint  pt  )  [virtual]

Verify if the cursor lies within the active region of this object.

Parameters:
pt The location - in view's coordinates - of the cursor.
Returns:
TRUE if the cursor is hovering the object, FALSE otherwise.

Reimplemented from CObject3D.

CRgn * InvalideRect (  )  [virtual]

Create a GDI region covering this object.

Returns:
A new instance of an encompassing region.

Reimplemented from CObject3D.

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

Reimplemented in CEquation3D, CComment3D, and CMathOp3D.

void SetColor ( COLORREF  rColor  )  [virtual]

Set the color of the object.

Parameters:
rColor The new color for the object.

Reimplemented from CObject3D.

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

Reimplemented in CLabel3D, CEquation3D, CDistance3D, CAngle3D, and CComment3D.

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

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

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

Reimplemented in CEquation3D.

void DrawDepGraph ( CDC *  pDC,
CImageList *  pImgList = NULL,
int  nTrace = GRAPH_NONE,
BOOL  bDrawNode = TRUE,
BOOL  bDrawLink = TRUE 
) [virtual]

Method CObject3D::DrawDepGraph.

Parameters:
pDC A pointer to the device-context associated with the drawing view
pImgList A pointer to the list of image containing the object's icons
nTrace The nature of the dependence graph to highlight (see TGraphType)
bDrawNode TRUE if this node is to be drawn, FALSE otherwise
bDrawLink TRUE if the link(s) associated with this node are drawn, FALSE otherwise

Reimplemented from CObject3D.