Is there a 3d equivalent of impoly and related functions?

1 回表示 (過去 30 日間)
Richard Kennaway
Richard Kennaway 2014 年 3 月 25 日
回答済み: Marc 2014 年 3 月 26 日
I need something like impoly that works in 3d. I imagine the polygon being drawn on a plane at right angles to the view direction and in front of everything else in the axes object, the result being the positions of the vertices in that plane's frame of reference, together with a transformation from there to the axis frame. Does anything like this exist?
In my intended application, there are no images present, 2d or 3d, just patches that I will be projecting the selected polygon over.
If it were possible to have a transparent axes object overlying another and use impoly on the first in front of my graphics in the second, that could work, but I don't think an axes can be transparent.

回答 (2 件)

Image Analyst
Image Analyst 2014 年 3 月 25 日
No, I don't recall any 3D ROI-shaping utility. You'd have to mask the cube yourself by doing each of the 3 axes one at a time to cut out a shape in 3D as you described.

Marc
Marc 2014 年 3 月 26 日
You may want to look at "geom3d" in the file exchange or simply google it. There is a lot of functions in this toolbox to create 3d shapes.

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by