class Model3D

Base Classes

Background

The Model3D class represents general three dimensional databases. A model can contain many different types of data used in defining a database. This includes hierarchical arrangements of polygon mesh and primitive instance data. Model3D objects also contain materials, textures, lights, animation data, sound, and other forms of data.

Constructors, Destructors, and Type Methods

Hierarchy Methods

Operators

Persistence, Storage, and Transmission Methods

High-level File Methods

Update Methods

Flags Methods

  • int GetFlags() const
  • void SetFlags( int enableModelFlags, int disableModelFlags )

Database Units Methods

  • void GetDatabaseUnits( int * pDatabaseUnitsLabel, int * pDatabaseUnitsPrecision, Coord * pDatabaseUnitsScale ) const
  • int SetDatabaseUnits( int newDatabaseUnitsLabel, int newDatabaseUnitsPrecision, Coord newDatabaseUnitsScale )

Extent Methods

Identification Methods

Global Light Registration Methods

Filter Module Methods

Synchronization Data

DeclarationDocumentation If Applicable
Timestamp c_nAccessTimeThis member stores the last access time for this model.
int lockThis member stores a locking count, for view synchronization.
int versionThis member contains a version number of the model, used to synchronize views.

Identification Data

DeclarationDocumentation If Applicable
int uniqueIDThis member stores the unique identifier of the model, which identifies the model globally, including over distributed processes.

Light Data

DeclarationDocumentation If Applicable
NodeList globalLightsThis member stores a list of references to global lights embedded in the hierarchy.

Flags and Global Options

DeclarationDocumentation If Applicable
int flagsVarious model state and control flags are stored in this member. See the Model_Flags enumeration for more information.

Database Units

DeclarationDocumentation If Applicable
Vec c_avExtent[2]This member stores the extent of the model.
int databaseUnitsThis member stores the primary database units label, i.e. meters or inches.
Coord databaseUnitScaleThis member stores the scale of the database compared to the database unit measurement label is in, i.e. 1/16 inches per database unit, or 10 centimeters per database unit.
int databaseUnitsPrecisionThis member stores the size in of primary database units of one unit in the database.

Textual Information

DeclarationDocumentation If Applicable
Timestamp c_oFileTime 
Str creatorThis string stores the literal creator, copyright or other comment about the model.
Str filenameThis member stores the default filename used in file operations.