A 3D Dynamic Geometry Software

Calques 3D C++



CObject3DAttr Class Reference
[Calques 3D - Geometrical Objects]

Inheritance diagram for CObject3DAttr:

Inheritance graph
Collaboration diagram for CObject3DAttr:

Collaboration graph

List of all members.


Detailed Description

Extract all the visual attributes of a geometrical object into a single class.

This class is used for transferring, copying or exchanging more easily attributes (ie shape, color, markers, etc.) between objects.

See CCalques3DDoc::ModifyPropObject and the CCopyShapeTask task.

Todo:
Replace the individual attributes of the CObject3CD class by CObject3DAttr

Public Member Functions

 CObject3DAttr ()
 Default constructor.
 CObject3DAttr (const CObject3DAttr &pObj)
 Copy constructor.
void operator= (const CObject3DAttr &other)
 Assignment operator.

Public Attributes

BOOL m_bVisible
 TRUE if the object is visible, FALSE otherwise.
BOOL m_bMarked
 TRUE if the visual marks of the object are visible, FALSE otherwise.
CString m_strObjectName
 The name of the object.
int m_nCalque
 The object is extracted in tracing X (bit X).
CShape m_pObjectShape
 The shape of the object.

Constructor & Destructor Documentation

CObject3DAttr (  )  [inline]

Default constructor.

CObject3DAttr ( const CObject3DAttr &  pObj  )  [inline]

Copy constructor.

Parameters:
pObj A reference to the object's attribute to be duplicated


Member Function Documentation

void operator= ( const CObject3DAttr &  other  )  [inline]

Assignment operator.

Parameters:
pObj A reference to the object's attribute to be duplicated


Member Data Documentation

BOOL m_bVisible

TRUE if the object is visible, FALSE otherwise.

BOOL m_bMarked

TRUE if the visual marks of the object are visible, FALSE otherwise.

CString m_strObjectName

The name of the object.

int m_nCalque

The object is extracted in tracing X (bit X).

The shape of the object.