BaseImporter (object)

The BaseImporter implements the Importer interface and is used as the base class for most specialized Importers, such as the AlembicImporter or the FbxImporter.

BaseImporter BaseImporter BaseImporter Importer Importer BaseImporter->Importer AlembicImporter AlembicImporter AlembicImporter->BaseImporter FbxImporter FbxImporter FbxImporter->BaseImporter ObjImporter ObjImporter ObjImporter->BaseImporter

Members

ImporterObject[] objects  
SInt32[String] idToIndex  
SInt32[String] pathToIndex  

Methods

  BaseImporter ( in BaseImporter other )
  BaseImporter ()
BaseImporter clone ? ()
  cloneMembersTo ? ( io BaseImporter other )
Ref<ImporterObject>[] getAllObjectRefs ? ()
ImporterObject[] getAllObjects ? ()
Ref<ImporterObject> getObjectFromID ? ( in String id )
Ref<ImporterObject> getObjectFromPath ? ( in String path )
Ref<ImporterObject>[] getObjectsByType ? ( in String type )
Ref<ImporterObject>[] getObjectsByTypeAndProperty ? ( in String type, in String key, in ImporterProperty prop )
Ref<ImporterObject> getOrCreateObject ! ( in String type, in String id, in String path )
Ref<ImporterObject>[] getOrCreateObjectArray ! ( in Size count, in String type, in String id, in String path )

Methods in detail

BaseImporter ( in BaseImporter other )

copy constructor


BaseImporter ()

default constructor


BaseImporter BaseImporter.clone? ()

clone method


BaseImporter.cloneMembersTo? ( io BaseImporter other )


Ref<ImporterObject>[] BaseImporter.getAllObjectRefs? ()

Returns all objects this importer currently holds.


ImporterObject[] BaseImporter.getAllObjects? ()

Returns all objects this importer currently holds.


Ref<ImporterObject> BaseImporter.getObjectFromID? ( in String id )

Returns an object based on the unique identifier - or null if the object is not found.


Ref<ImporterObject> BaseImporter.getObjectFromPath? ( in String path )

Returns an object based on its path - or null if the object is not found.


Ref<ImporterObject>[] BaseImporter.getObjectsByType? ( in String type )

Returns all objects of a given type inside of this importer.


Ref<ImporterObject>[] BaseImporter.getObjectsByTypeAndProperty? ( in String type, in String key, in ImporterProperty prop )

Returns all of a given type - while also checking that these objects store a property of a given key name as well as match a given property value. This can be useful if you want to filter all shapes for example matching a given geometryType.


Ref<ImporterObject> BaseImporter.getOrCreateObject! ( in String type, in String id, in String path )

Creates a new object inside of this importer. This method is mainly used by the specialized implementations.


Ref<ImporterObject>[] BaseImporter.getOrCreateObjectArray! ( in Size count, in String type, in String id, in String path )

Creates an array of new objects. This method is mainly used by the specialized implementations such as the AlembicImporter, for example.