mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
281 stars 185 forks source link

start pseudo3d capabilities for grain2d #1578

Closed ralfHielscher closed 6 months ago

ralfHielscher commented 1 year ago

This branch should accomplish pseudo3d functionality for EBSD and grain data. This mean that while the data are still in a plane, the plane can be arbitrarily orientated in space. The following things need to be done

In the current state we can generate pseudo3d grains simply by rotating grains, i.e., by

rot = rotation.rand
grains = rotate(grains,rot)

grain functions that needs to be revisited:

ralfHielscher commented 1 year ago

grain2d.V is now always vector3d to make it unnecessary to switch back and forth. This requires a lot of adaptions to be made.