|
TransformationsHelper Class |
Inheritance Hierarchy Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static class TransformationsHelper
The TransformationsHelper type exposes the following members.
Methods | Name | Description |
---|
| AddTransformation(Model3D, Transform3D) |
Adds the transform3D to the specified model3D.
If model3D have no Transform set, set the transform3D to it.
If model3D already have Transform set, the transform3D is added to existing or new Transform3DGroup.
|
| AddTransformation(Visual3D, Transform3D) |
Adds the transform3D to the specified visual3D.
If visual3D have no Transform set, set the transform3D to it.
If visual3D already have Transform set, the transform3D is added to existing or new Transform3DGroup.
|
| CombineTransform3D |
CombineTransform3D returns a Transform3D with combining firstTransform3D and secondTransform3D.
When both firstTransform3D and secondTransform3D are null or Identity, then null is returned.
When one of the input Transform3D object is null or Identity, then the other Transform3D is returned.
Otherwise a new Transform3DGroup is created and transformations from firstTransform3D and then secondTransform3D are added.
|
| GetModelTotalTransform(Model3D, Model3D, Boolean) |
GetModelTotalTransform returns a Transform3D that contains all the transformations from the rootModel to the finalModel.
If no transformation is found, then null is returned.
|
| GetModelTotalTransform(Model3D, Model3D, Boolean, Boolean) |
GetModelTotalTransform returns a Transform3D that contains all the transformations from the rootModel to the finalModel.
If no transformation is found, then null is returned.
|
| GetModelTotalTransform(Model3D, Model3D, Boolean, Transform3D) |
GetModelTotalTransform returns true when the specified finalModel can be reached from the rootModel.
In this case the totalTransform3D out parameter is set to the a Transform3D that contains all the transformations from the rootModel to the finalModel.
If no transformation is found, then totalTransform3D is set to null.
|
| GetVisual3DTotalTransform(Visual3D, Boolean, Boolean) |
GetVisual3DTotalTransform returns a Transform3D that contains all the transformations from the Viewport3D to the finalVisual3D.
If no transformation is found, then null is returned.
The isVisual3DConnected out parameter is set to false, when the Viewport3D is not reached from the finalVisual3D.
|
| GetVisual3DTotalTransform(Visual3D, Boolean, Transform3D) |
GetVisual3DTotalTransform returns true when the specified finalVisual3D can be reached from the Viewport3D.
In this case the totalTransform3D out parameter is set to the a Transform3D that contains all the transformations from the Viewport3D to the finalVisual3D.
If no transformation is found, then totalTransform3D is set to null.
|
| GetVisual3DTotalTransform(Visual3D, Visual3D, Boolean, Boolean) |
GetVisual3DTotalTransform returns a Transform3D that contains all the transformations from the rootVisual3D to the finalVisual3D.
When rootVisual3D is null, then transformation from Viewport3D to the finalVisual3D is returned.
If no transformation is found, then null is returned.
The isVisual3DConnected out parameter is set to false, when the rootVisual3D or Viewport3D is not reached from the finalVisual3D.
|
| GetVisual3DTotalTransform(Visual3D, Visual3D, Boolean, Transform3D) |
GetVisual3DTotalTransform returns true when the specified finalVisual3D can be reached from the rootVisual3D.
In this case the totalTransform3D out parameter is set to the a Transform3D that contains all the transformations from the rootVisual3D to the finalVisual3D.
If no transformation is found, then totalTransform3D is set to null.
|
TopSee Also