DM_copy_dmod
List of: Functions
Subjects: DML Create and Query, Deformable Model Management, Deformable Modeling
Contents: Standalone Deformable Modeling

Action: Creates a deep copy of the input deformable model and returns a pointer to new deformable model object.

Prototype: DS_dmod* DM_copy_dmod (


int& rtn_err, // out: 0=success or neg




// err code


DS_dmod* dmod, // in: dmod object




// to copy


int walk_flag // in: 0='this' only,



= 0, // 1='this' and offspring


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: Makes and returns a pointer to a deep copy of the input deformable model.


NULL for failure or a pointer to an independent copy of of the input deformable model object.

Errors: DM_NULL_INPUT_PTR

The deformable model cannot be NULL on entry.



DM_BAD_WALK_FLAG_VALUE

The walk_flag must be 0, 1 or 2.

Library: dshusk

Filename: ds/dshusk/dskernel/dmapi.hxx

Effect: System routine
PDF/DS/03FNA.PDF
HTM/DATA/DS/DS/03FNA/0023.HTM