A 3D Dynamic Geometry Software

Calques 3D C++



CRedefineScheme Class Reference

Inheritance diagram for CRedefineScheme:

Inheritance graph
Collaboration diagram for CRedefineScheme:

Collaboration graph

List of all members.


Detailed Description

Implementation of a redefinition schema, specifying how an object can be geometrically redefined.

The redefinition of a object consists in relaxing or adding ONE constraint in the geometrical relations that link it with other objects in the construction. This class contains all information required for performing, step-by-step, the task. It includes the instance of the new object to be created, the resource IDs for the task and steps descriptions, the number and type of the target objects - if any - to designate for adding constraints.

See

Todo:
Replace the static array of IDs by a dynamic set

Public Member Functions

 CRedefineScheme ()
 Default constructor for the redefinition scheme.
 ~CRedefineScheme ()
 Destructor.

Public Attributes

CObject3D * pNewObj
 An instance of the new object to create, one the task successful.
int nObjResID
 The resource ID for the name of the redefinition task.
unsigned nTaskResID [10]
 A list of resource ID for the names of target objects, step by step.
unsigned nStepID [10]
 A list of filters for the designation of target objects, step by step.
unsigned nAvail
 The ID of the corresponding construction command (to check availability of target objects).
int nRedefStep
 The number of steps in the designation of target objects (assumed to be 1).
BOOL bRelax
 TRUE if the task consists in relaxing a constraint, FALSE otherwise.

Constructor & Destructor Documentation

CRedefineScheme (  ) 

Default constructor for the redefinition scheme.

~CRedefineScheme (  ) 

Destructor.


Member Data Documentation

An instance of the new object to create, one the task successful.

int nObjResID

The resource ID for the name of the redefinition task.

unsigned nTaskResID[10]

A list of resource ID for the names of target objects, step by step.

unsigned nStepID[10]

A list of filters for the designation of target objects, step by step.

unsigned nAvail

The ID of the corresponding construction command (to check availability of target objects).

The number of steps in the designation of target objects (assumed to be 1).

BOOL bRelax

TRUE if the task consists in relaxing a constraint, FALSE otherwise.