mtex
mtex copied to clipboard
start pseudo3d capabilities for grain2d
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)
- [ ] we should store a normal direction for each grain2d, EBSD class, we probably need it for area computation or plotting alignment.
- [ ] we need a class
plottingConvention
that is stored in the EBSD data or in the coordinates that describe how the plane should be aligned in the plot by default - [ ] selecting points by mouse needs to be revisited
- [ ] when plotting micronbar needs to be placed in the plane - currently plotting only works with micronbar switched off, i.e.,
plot(grains,'micronbar','off')
grain functions that needs to be revisited:
- [ ] EBSDAnalysis/@grain2d/area.m
- [ ] caliper
- [ ] centroid
- [ ] checkInside
- [ ] convexhullProps
- [ ] findByLocation
- [ ] inpolygon
- [ ] longAxis
- [ ] paris
- [ ] shortAxis