|
Action:
|
Sets the deformable model's
dmo_tag_count value and returns 0 for success or an error.
|
|
|
Prototype:
|
void DM_set_tag_count (
|
|
|
int& rtn_err,
|
// out: 0=success
|
|
|
|
|
// or negative err code
|
|
|
DS_dmod* dmod,
|
// in: target dmod to
|
|
|
|
|
// modify
|
|
|
int tag_count,
|
// largest tag value used
|
|
|
|
|
// by a tag object in the
|
|
|
|
|
// dmod hierarchy
|
|
|
SDM_options* sdmo
|
// in:SDM_options pointer
|
|
|
|
= NULL
|
//
|
|
|
);
|
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "dshusk/dskernel/dmapi.hxx"
|
|
#include "dshusk/dskernel/dsdmod.hxx"
|
|
#include "dshusk/dskernel/sdm_options.hxx"
|
|
|
Description:
|
Modifies
deformable model->root->dmo_tag_count
|
|
|
Sets the value of the largest currently assigned tag value for the deformable model hierarchy. Be sure that this number will generate unique tag values for new tag objects being added to the current hierarchy. The system assumes each tag identifier for every tag object is unique.
|
|
|
Errors:
|
DM_NULL_INPUT_PTR
|
|
The deformable model cannot be NULL on entry.
|
|
|
Library:
|
dshusk
|
|
|
Filename:
|
ds/dshusk/dskernel/dmapi.hxx
|
|
|
Effect:
|
Changes model
|