Click or drag to resize
Transformer3ds Methods

The Transformer3ds type exposes the following members.

Methods
  NameDescription
Public methodApplyTransformation
Applies the newTransformation to the modelToApplyTransformtion. If the model already has the same type of transformation than this transformation is replaced with the new one. If this type of transformation is not already applied to the models than the transformation is added to model's Transform3DGroup
Public methodClearAllTransformations
Clears all transformation in all objects in UsedReader3ds
Public methodClearTransformations(String)
Clears all transformation in objectName (only MatrixTransformations are left because they are needed to represent the hierarchy of read 3ds file)
Public methodClearTransformations(Model3D)
Clears all transformation in objectsGroup (only MatrixTransformations are left because they are needed to represent the hierarchy of read 3ds file)
Public methodStatic memberGetCenterPosition
Returns a center point of a Model3D object
Public methodGetChildren(String)
Get Model3DCollection (Children) for objectName (Model3DGroup or GeometryModel3D) or null if model has no children. GeometryModel3D can have children if for it there was a Model3DGroup created (becasue of a hierarchy). In this case there is a (objectName + Reader3ds.GroupNameSuffix) in NamedObjects dictionary.
Public methodGetChildren(Model3D)
Get Model3DCollection (Children) for Model3DGroup or GeometryModel3D or null if model has no children. GeometryModel3D can have children if for it there was a Model3DGroup created (becasue of a hierarchy). In this case there is a (objectName + Reader3ds.GroupNameSuffix) in NamedObjects dictionary.
Public methodGetObjectCenter
Returns a center point of a Model3D object
Public methodGetObjectName
Gets the name of the object from UsedReader3ds.NamedObjects dictionary
Public methodGetObjectOrItsGroup(String)
If objectName from UsedReader3ds.NamedObjects is Model3DGroup or Light the same model is returned. If objectName is GeometryModel3D and it has children (because of hierarchy there was a Model3DGroup created for it) than return the Model3DGroup. If objectName is GeometryModel3D and has no children return model as GeometryModel3D.
Public methodGetObjectOrItsGroup(Model3D)
If model is Model3DGroup or Light the same model is returned. If model is GeometryModel3D and it has children (because of hierarchy there was a Model3DGroup created for it) than return the Model3DGroup. If model is GeometryModel3D and has no children return model as GeometryModel3D.
Public methodGetObjectRotation(String)
Gets a RotateTransform3D for the object with objectName - if there is a Transform3DGroup the RotateTransform3D is get from it
Public methodGetObjectRotation(Model3D)
Gets a RotateTransform3D for the model - if there is a Transform3DGroup the RotateTransform3D is get from it
Public methodGetObjectScale(String)
Gets a ScaleTransform3D for the object with objectName - if there is a Transform3DGroup the RotateTransform3D is get from it
Public methodGetObjectScale(Model3D)
Gets a ScaleTransform3D for the model - if there is a Transform3DGroup the RotateTransform3D is get from it
Public methodGetObjectSize
Gets the size of one Model3D - length of the diagonal of object's bounds
Public methodGetObjectTranslation(String)
Gets a TranslateTransform3D for the object with objectName - if there is a Transform3DGroup the RotateTransform3D is get from it
Public methodGetObjectTranslation(Model3D)
Gets a TranslateTransform3D for the model - if there is a Transform3DGroup the RotateTransform3D is get from it
Public methodGetParentGroup(String)
Gets the parent Model3DGroup of the NamedObject. If the objectName is already a Model3DGroup than the same object is returned, else the parent group is returned. Used when you get a GeometryModel3D from Reader3ds's NamedObjects and would like to apply a transformation to the GeometryModel3D and all its child objects.
Public methodGetParentGroup(GeometryModel3D)
Gets the parent Model3DGroup of the GeometryModel3D. Used when you get a GeometryModel3D from Reader3ds's NamedObjects and would like to apply a transformation to the GeometryModel3D and all its child objects
Public methodGetParentGroup(Model3DGroup, GeometryModel3D)
Gets the parent Model3DGroup of the GeometryModel3D. Used when you get a GeometryModel3D from Reader3ds's NamedObjects and would like to apply a transformation to the GeometryModel3D and all its child objects
Public methodStatic memberGetSize
Gets the size of one Model3D - length of the diagonal of object's bounds
Public methodHasChildren(String)
Returns true if the objectName (Model3DGroup or GeometryModel3D) has children (at least one - empty collection returns false). GeometryModel3D can have children if for it there was a Model3DGroup created (becasue of a hierarchy). In this case there is a (objectName + Reader3ds.GroupNameSuffix) in NamedObjects dictionary.
Public methodHasChildren(Model3D)
Returns true if the Model3DGroup or GeometryModel3D has children (at least one - empty collection returns false). GeometryModel3D can have children if for it there was a Model3DGroup created (becasue of a hierarchy). In this case there is a (objectName + Reader3ds.GroupNameSuffix) in NamedObjects dictionary.
Public methodRotateObject(AxisAngleRotation3D)
Applies AxisAngleRotation3D to all objects and lights. The rotation is applied around objects center point.
Public methodRotateObject(RotateTransform3D)
Applies RotateTransform3D to all objects and lights. The rotation is applied around objects center point.
Public methodRotateObject(String, AxisAngleRotation3D)
Applies AxisAngleRotation3D to the object with objectName and to all its child objects. The rotation is applied around objects center point.
Public methodRotateObject(String, RotateTransform3D)
Applies RotateTransform3D to the object with objectName and to all its child objects - enables rotating object around custom center point.
Public methodRotateObject(Vector3D, Double)
Applies AxisAngleRotation3D to all objects and lights.
Public methodRotateObject(String, Vector3D, Double)
Applies AxisAngleRotation3D to the object with objectName and to all its child objects
Public methodRotateObject(Vector3D, Double, Boolean)
Applies AxisAngleRotation3D to all objects and lights. The rotation is applied around objects center point.
Public methodRotateObject(String, Vector3D, Double, Boolean)
Applies AxisAngleRotation3D to the object with objectName and to all its child objects. The rotation is applied around objects center point.
Public methodScaleObject(ScaleTransform3D)
Applies scale transformation to all objects and lights.
Public methodScaleObject(String, ScaleTransform3D)
Applies scale transformation to the object with objectName and to all its child objects
Public methodScaleObject(Double, Double, Double)
Applies scale transformation to all objects and lights.
Public methodScaleObject(Double, Double, Double, Boolean)
Applies scale transformation to all objects and lights.
Public methodScaleObject(String, Double, Double, Double)
Applies scale transformation to the object with objectName and to all its child objects
Public methodScaleObject(String, Double, Double, Double, Boolean)
Applies scale transformation to the object with objectName and to all its child objects
Public methodTranslateObject(TranslateTransform3D)
Applies scale transformation to all objects and lights.
Public methodTranslateObject(String, TranslateTransform3D)
Applies scale transformation to the object with objectName and to all its child objects
Public methodTranslateObject(Double, Double, Double)
Applies scale transformation to all objects and lights.
Public methodTranslateObject(Double, Double, Double, Boolean)
Applies scale transformation to all objects and lights.
Public methodTranslateObject(String, Double, Double, Double)
Applies scale transformation to the object with objectName and to all its child objects
Public methodTranslateObject(String, Double, Double, Double, Boolean)
Applies scale transformation to the object with objectName and to all its child objects
Top
See Also