formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Q-Subz

# fz_objt_qsub_parm_enum

Description

Parameter identifiers for a parametric qsubz object. Used for the "which" argument of , , model_cnstr_qsub_opts_get and model_cnstr_qsub_opts_set. The FZ_OBJT_QSUB_PARM_N_FACE_LIST and FZ_OBJT_QSUB_PARM_FACE_LIST parameters can be used to get and set the faces of the original control object which are to be affected by the qsubz operation. When reading the faces, an array of longs must be preallocated to be at least "nfaces" fzrt_int. The array pointer is set in the data argument of . Setting the faces is done exactly the same way. That is, an array of nfaces items must be allocated and filled with the indices of the faces. The array pointer is set in the data argument for . Note, that it is necessary to set the number of faces first before setting the face list itself.

enum fz_objt_qsub_parm_enum {

FZ_OBJT_QSUB_PARM_DO_SMOOTH,

FZ_OBJT_QSUB_PARM_DO_SEG_LENGTH,

FZ_OBJT_QSUB_PARM_DO_FACE_ANGLE,

FZ_OBJT_QSUB_PARM_TRIANG,

FZ_OBJT_QSUB_PARM_CURVATURE,

FZ_OBJT_QSUB_PARM_SEG_LENGTH,

FZ_OBJT_QSUB_PARM_FACE_ANGLE,

FZ_OBJT_QSUB_PARM_N_SUBDIV,

FZ_OBJT_QSUB_PARM_N_FACE_LIST,

FZ_OBJT_QSUB_PARM_FACE_LIST };

Members

FZ_OBJT_QSUB_PARM_DO_SMOOTH

Construction and Editing - qsubz smoothing on (TRUE) or off (FALSE).

Type: fzrt_boolean

Default Value: TRUE

FZ_OBJT_QSUB_PARM_DO_SEG_LENGTH

Construction and Editing - qsubz use segment length for subdivision on (TRUE) or off (FALSE).

Type: fzrt_boolean

Default Value: TRUE

FZ_OBJT_QSUB_PARM_DO_FACE_ANGLE

Construction and Editing - qsubz use face angle for subdivision on (TRUE) or off (FALSE).

Type: fzrt_boolean

Default Value: TRUE

FZ_OBJT_QSUB_PARM_TRIANG

Construction and Editing - qsubz triangulation on (TRUE) or off (FALSE).

Type: fzrt_boolean

Default Value: TRUE

FZ_OBJT_QSUB_PARM_CURVATURE

Construction and Editing - qsubz curvature.

Type: double

Range: 0.0 <= value <= 1.0

Default Value: 0.5

FZ_OBJT_QSUB_PARM_SEG_LENGTH

Construction and Editing - qsubz max segment length.

Type: double

Range: value > 0.0

Default Value: English 24.0 in, Metric 50.0 cm

FZ_OBJT_QSUB_PARM_FACE_ANGLE

Construction and Editing - qsubz max face angle.

Type: double

Range: 0.0 < value < PI

Default Value: PI/18.0 (10.0 degrees in radians)

FZ_OBJT_QSUB_PARM_N_SUBDIV

Editing - qsubz max number of subdivision.

Type: fzrt_int

Range: value >= 1

FZ_OBJT_QSUB_PARM_N_FACE_LIST

Editing - Number of faces tagged as smooth.

Type: fzrt_int

Range: 1 < value < # of faces of the object

FZ_OBJT_QSUB_PARM_FACE_LIST

Editing - Array with indices of faces tagged as smooth.

Type: fzrt_int*

Availability

5.0.0.0

Example Files

util_objt_qsub.fsl

See Also

, , ,

Defined in

fz_objt_qsub_api.h