1 post in this topic

Posted · Report post

FVG objects construct a matlab patch object for the actual image that is presented on screen. Each face of the patch object represents the cells of the model, and the corners of these faces represent the vertices.

The handle to this patch object is stored as a property of the fvg objects, which allow us to customize various aspects of the visualisation.

Just a few of the options for this:

If you want to apply a slight transparency to the entire mesh equally, you can edit the patch object's facealpha property.

sheet1 = fvgsheet(fobj, modfil)

patchhandle = sheet1.PatchObj;

set( patchhandle , 'FaceAlpha', 0.5)

This sets all the faces of the patch to be 50% transparent.

 

Be careful when setting these patch properties as some of them will be updated by moving the slider bar, and all your hard work will be erased.

for more info on patches and their properties, see MathWorks documentation on patches.

http://www.mathworks.com.au/help/matlab/ref/patch.html

http://www.mathworks.com.au/help/matlab/ref/patch_props.html

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now