Home > By category > Scripts >Multimedia > Apply affine transforms to graphic objects



Apply affine transforms to graphic objects

  • Downloads: 
  • Views: 
  • Rating:

The advantage of the function compared to hgtransform objects is that it operates directly on the XData,YData and ZData of the object which allows ButtonDownFcn callbacks to execute even when the object was moved. Moreover the applied transforms can be undone or redone stepwise as well as objects can be reseted. The transforms are stored as a structure in the 'UserData' of the graphic objects

The function supports line, surface, patch and text objects

Usage:

transform(obj, tmatrix)
[M step]=transform(obj, tmatrix)

applies the transform matrix 'tmatrix' to the graphic objects obj. Obj can be line,surface, patch, text or group objects.
Output 'M' is a cell array of transform matrices and step the index of the last transform applied.

[M step]=transform(obj,'undo',nb_steps) undoes 'nb_steps'

[M step]=transform(obj,'redo',nb_steps) redoes 'nb_steps'

transform(obj,'reset') resets obj to initial value. It deletes all transforms and associated UserData

Example:

%rotate peaks surface by pi/4 around z-axis
obj=surf(peaks);
tmatrix=makehgtform('zrotate',pi/4);
[M step]=transform(obj,tmatrix);

%undo last step
[M step]=transform(obj,'undo',1)

Free download from Shareware Connection - The advantage of the function compared to hgtransform objects is that it operates directly on the XData

Publisher: Pirmin Borer | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 24-06-2013 | Rating: 0 | Title: Apply affine transforms to graphic objects

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/29017/1/transform.zip

More downloads from Apply affine transforms to graphic objects publisher Pirmin Borer:

Axes objects tree viewer - AxesTree(ax,'Property','Value',...)

Apply affine transforms to graphic objects keywords:
Apply affine transforms to graphic objects related downloads:

Utility ActiveX Objects - Utility ActiveX Objects is a package that allows you to manage data that is not natively supported by JScript or by VBScript.

Running Steps - With Running Steps, you will be able to step through your batch file commands interactively. Integrated window environment. Environment variable display and edit support. Rich set of breakpoint options. Unroll 'for' commands. and more...

Step-by-Step Seminar Registration - As different 'steps' of the registration process are completed, the current step gets check off as done and the next step lights up.

BSL Level 1 Step two Part A - Dear Learner,Welcome to First Steps British Sign Language, Step Two. This “First Steps” series consists of 3 applications, step 1, step 2 and 3. Together they form the vocabulary needed for a good level one standard of BSL, and will ...

NkScheme - Components for displaying and editing in windows various graphic objects

Shareware Connection periodically updates pricing and software information of 'Apply affine transforms to graphic objects' from company source 'Pirmin Borer' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Apply affine transforms to graphic objects' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Apply affine transforms to graphic objects.

New Reviews

Safe In Cloud - It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...

SeaMonkey, Portable Edition - Using the Internet has become a necessity for a majority of people, including those who do not use a PC regularly. To browse web, stream video or download online content, people often resort to using various third party apps. For example, using ...

Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...

Trend Micro HouseCall - With time, PC users find it increasingly difficult to keep their systems free of malware and rogue apps, despite using latest and feature packed security software. This is mostly owing to the evolving nature of malware and newer types of ...

Poser - The concept of 3D animation and modeling may seem amazing to the viewers but those who are into the industry know it is no cakewalk. Majority of 3D animation and modeling software known for some of the amazing animations and CGI work in films ...

Avast Endpoint Protection Suite Plus - PC security has become a vital aspect of computing nowadays and business users face the heat more than home users. While installing and handling a standalone antivirus suite is neither tedious nor time consuming, the scenario is different in ...

Apple iMovie - For higher end video editing and post production related needs on Mac OS, the preferred choice is FCP in most instances. However, not all Mac users need to deal with a feature laden, sophisticated editor for casual needs. For casual to moderate ...

Style Jukebox - No matter if you use a computer for personal needs or work in a networked setup, listening to music is commonplace. It is required for relaxation amidst work and nearly every user indulges in it. For music playback on PC, the WMP is not the only ...

NovaBench - PC performance benchmarking is something that may not interest average users much but tech savvy lot resort to such apps to find out prowess and capability of their laptops and desktops. While there are quite a few PC benchmarking apps in market, ...

Bolide Movie Creator - Not many PC users ventured into editing video clips even a few years back. It was a task reserved for studio setups and professionals. However, emergence of mobile video recording devices, access to internet has changed things in recent times. ...




New Downloads

PHP Review Script

Every corporate website
providing products and/or
services online needs a proper
customer feedback. PHP Review
Script is ...

Free Ringtone Maker

Do you want to add some
interesting ringtones to your
mobile phones? With our Free
Ringtone Maker, you can create
your ...

Contact Form Generator

Contact Form Generator is an
easy-to-use PHP script for
creating contact and email
forms. The contact form script
allows ...

STIVA Shopping Cart

Ready to use multilingual
online shopping cart script to
help you build ecommerce
websites: responsive front-end
design, ...

Normalize N-D Vectors in
Single Matrix or N
Component Matrices

Normalizes N-D vectors
provided either in one matrix,
or as multiple component
matrices.

getOdC

Based on Physica A 375 (2007)
365 373.

Field group

Fieldgroup will, as the name
implies, group fields together

DH Admin Themes

Add a dashboard theme.

ReSiCA-PHP

ReSiCA-PHP is an
implementation of a very
simple centralized
authentication mecanism.

Token Node Tokens

TNT (Token Node Tokens) is a
very simplistic module that
allows you to create arbitrary
tokens without having to
create a ...

Loss Calculation in a
3-Phase 3-Level Inverter
Using SimPowerSystems and
Simscape

SimPowerSystems(SPS) and
Simscape are used to calculate
losses in a 3-phase, 3-level
inverter.

Vertical Folding Tabs

Vertical folding tabs are
applied with autoscroll GUI
template.