CDroiteInterPP3D Class Reference
[Calques 3D - Geometrical Objects]


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 DWORD | isA () const |
| Get the identifier representing the type of the object. | |
| virtual int | SetDepth () |
| Update the depth of this object in the dependence graph. | |
| virtual void | Serialize (CArchive &ar) |
| Store and load the object into and from an archive. | |
| virtual CObject3D * | CopyObject () |
| Create a clone of this object. | |
| virtual CxObject3DSet * | GetParents () |
| Get all the parents of this object from the dependence graph. | |
| virtual CString | GetObjectDef () |
| Get the definition 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 CString | ExportSymbolic (int nFormat) |
| Method CObject3D::ExportSymbolic. | |
Public Attributes | |
| CPlan3D * | Pl1 |
| First plane for the intersection. | |
| CPlan3D * | Pl2 |
| Second plane for the intersection. | |
Private Attributes | |
| CVector4 | DrDir |
| Direction vector for the resulting line. | |
| CVector4 | DrPt |
| Base point for the resulting line. | |
| CVector4 | PtonDr |
| Reference point for all points on this line. | |
Member Function Documentation
| virtual UINT GetDefID | ( | ) | const [inline, virtual] |
Get the resource ID of the string containing the definition of the object.
Reimplemented from CDroite3D.
| virtual DWORD isA | ( | ) | const [inline, virtual] |
Get the identifier representing the type of the object.
See TObject3DClass and others identifiers
Reimplemented from CDroite3D.
| int SetDepth | ( | ) | [virtual] |
Update the depth of this object in the dependence graph.
Basically, the depth of an object is either 0 if it has no parents or the maximum of its parents' depth +1.
- Returns:
- The current depth of this object
Reimplemented from CDroite3D.
| 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 CDroite3D.
| CObject3D * CopyObject | ( | ) | [virtual] |
Create a clone of this object.
- Returns:
- A pointer to the clone of this object.
Reimplemented from CDroite3D.
| 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 CDroite3D.
| CString GetObjectDef | ( | ) | [virtual] |
Get the definition of the object.
The definition of an object is a string containing a complete description of the object, including references to the objects to which it depends for its construction. Names of the objects and its parents are automatically updated. For example, a segment will be defined by "S is a segment line going through A and B". This definition is mainly used to populate the History view (see CViewHisto) and the status bar when an object is designated (see CViewUniv::OnUpdateObjTooltip).
Reimplemented from CDroite3D.
| 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 CDroite3D.
| 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 CDroite3D.
| CString ExportSymbolic | ( | int | nFormat | ) | [virtual] |
Method CObject3D::ExportSymbolic.
- Parameters:
-
nFormat The format to use for exporting the object (see CObject3D::TGraphType)
- Returns:
- A String containing the symbolic representation of the object
Reimplemented from CDroite3D.
Member Data Documentation



