|
[1 introduction] [2 overview] [3 reference] [4 GUI] IndexE3dModel_ResetTransforms E3dModel_AppendObject E3dModel_InsertObject E3dModel_AddObject E3dModel_GetIndexOfObject E3dModel_RemoveObject E3dModel_RemoveInstances E3dModel_RemoveObjects E3dModel_GetBoundingBox E3dModel_GetTransformedBoundingBox E3dModel_UnselectObjects E3dModel_ResetTransformsReset transformation values of a ModelSyntax Argument Description Resets the transformations of the Model, by calling E3dTransformSet_Reset(), with PFreeTransformList = FALSE. Also loads an identity Matrix into LocalToWorldMatrix and LocalToWorldUnitVectorMatrix and sets the Matrix_TimeStamp to E3d_GetTime(). Return value None. E3dModel_AppendObjectAppend an Object to a ModelSyntax Arguments Description This function adds the given Object to the list of Geometries on the given Model. E3dObject is the base-class for: Return value PObject if all went well, NULL in case of an error. E3dModel_InsertObjectInsert an Object into a Model's Objects array before a given positionSyntax Arguments Description This function adds the given Object to the list of Geometries on the given Model. E3dObject is the base-class for: Return value PObject if all went well, NULL in case of an error. E3dModel_AddObjectAllocate a Geometry of the given type and add it to a ModelSyntax Arguments Description This function allocates, initializes a Geometry of the given type and adds it to the list of Objects on the given Model. Return value Pointer to the new Object, or NULL in case of an error. See also E3dModel_GetIndexOfObjectSee if a Model has the given ObjectSyntax Arguments Description Checks if a Model has the given Object. Return value The index of LObject is in the Object list of PModel. If PObject is not in the list, returns -1 E3dModel_RemoveObjectRemove Object from a ModelSyntax Arguments Description Removes LObject from the given Model's dynamically allocated Object list. Return value None. E3dModel_RemoveInstancesFree all instance records of a ModelSyntax Argument Description Frees all the Instance entries on PModel. Return value None. See also E3dModel_RemoveObjectsFree all Objects of a ModelSyntax Argument Description Frees all the Objects of PModel. Return value None. See also E3dModel_GetBoundingBoxCompute the bounding box of a Model in its local coordinate systemSyntax Arguments Description Computes the bounding box of a Model and returns it in PBBMin and PBBMax. PWhatToInclude may be E3dBB_SELECTED_GEOMETRY or E3dBB_ALL. Return value TRUE if there is a valid bounding box, FALSE otherwise (e.g. the Model has no Geometries). E3dModel_GetTransformedBoundingBoxCompute the bounding box of a Model in a given coordinate systemSyntax Arguments Description Computes the bounding box of a Model in a coordinate system defined by a Matrix and returns it in PBBMin and PBBMax. Return value TRUE if there is a valid bounding box, FALSE if there isn't one (e.g. the Model has no geometry attached to it). E3dModel_UnselectObjectsUnselect Objects of a ModelSyntax Arguments Description Unselect Objects and components of Objects instantiated on a Model. Return value E3dChg... flags, indicating what changed |