Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
The C# Excel Library 2020.5
dbForge Studio for MySQL 9.0
LinkedIn Clone 2.2
Uber clone Apps 4.0
Cab Booking Script 1.3.2
Airbnb Clone HomestayDNN 3.0
Magento Language switcher 1.2.1
The .Net PDF Library 2020.3.2
IP2Location Geolocation Database 2020.5
ODBC Driver for MailChimp 2.0
ODBC Driver for NetSuite 2.0
ODBC Driver for SQL Azure 3.1
dbForge Schema Compare for Oracle 4.1
dbForge Data Compare for Oracle 5.1
dbForge Studio for Oracle 4.1
Top Code
dbForge Studio for MySQL 8.1
dbForge Studio for Oracle 3.10
dbForge Schema Compare for Oracle 2.7
dbForge Data Compare for Oracle 3.7
IP2Location Geolocation Database 2020.5
azar's knights tour 1.0
PDF Chart Creator DLL
PDF Chart Creator Dynamic Link Library 1.0
Form creator 1.0
FormMail Lite 1.0
SocketTimesheet
BS/1 Professional - Time Billing and Accounting
Online Video Rental Software System Alpha
Bullschmidt ASP Web Database Sample 2.0
Easy PCB Design Software in Java 1.0
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
3D Rotation about Shifted Axis 1.0
File ID: 81271






3D Rotation about Shifted Axis 1.0
Download 3D Rotation about Shifted Axis 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 5
Submit Rating:
3D Rotation about Shifted Axis 1.0 Description
Description: Generates the roto-translation matrix for the rotation around an arbitrary line in 3D. The line need not pass through the origin. Optionally, also, applies this transformation to a list of 3D coordinates.

SYNTAX 1:

M=AxelRot(deg,u,x0)


in:

u, x0: 3D vectors specifying the line in parametric form x(t)=x0+t*u
Default for x0 is [0,0,0] corresponding to pure rotation (no shift).
If x0=[] is passed as input, this is also equivalent to passing x0=[0,0,0].

deg: The counter-clockwise rotation about the line in degrees. Counter-clockwise is defined using the
right hand rule in reference to the direction of u.


out:

M: A 4x4 affine transformation matrix representing
the roto-translation. Namely, M will have the form

M=[R,t;0 0 0 1]

where R is a 3x3 rotation and t is a 3x1 translation vector.



SYNTAX 2:

[R,t]=AxelRot(deg,u,x0)

Same as Syntax 1 except that R and t are returned as separate arguments.



SYNTAX 3:

This syntax requires 4 input arguments be specified,

[XYZnew, R, t] = AxelRot(XYZold, deg, u, x0)

where the columns of the 3xN matrix XYZold specify a set of N point coordinates in 3D space. The output XYZnew is the transformation of the columns of XYZold, i.e., the original coordinates rotated appropriately about the axis. All other input/output arguments have the same meanings as before.

License: Shareware

Related: Syntax, daxelrotdegux, returned, separate, arguments, Vector, Translation, Affine

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 5



More Similar Code

3D Affine matrix is such a 4x4 matrix:

M = [ [R T]; [0 0 0 1] ];
[x2 y2 z2 1]d-deOao = M * [x1 y1 z1 1]d-deOao ;

where, R is a 3x3 rotation matrix, and T is a 3x1 translation matrix. [x1 y1 z1] is a location in original 3D image volume, and [x2 y2 z2] is a location in transformed 3D image volume.

Although affine geometric transformation is only limited to parallel projection, it applies to most of the...



Let your slides tumble in from the distance. This mindblowing Flash slideshow uses 3D rotation effects to display your images.



3D Object Rotate is a Flash VR tool taht allows you to create high quality presentations.

Features:
- Flash based - no extra plugin needed
- Rotation in 360dlT-
- Rotation in custom angle range (e.g. for a faucet)
-...



It makes visualization of rotation with Euler angles. phi theta psi are changeable. Also it makes automatic conversion to axis-angle form of rotation. Any rotation can be represented as axis of rotation and angle of rotation. See...



findEulerAngs generates Euler angle sets and animates rotations in response to user manipulation of a 3D rigid body (a box).

Use the mouse to change the orientation of the box. A wireframe of the original box position will appear. The...



The user will be able to interact with the 3D object by drag&drop.

It does not requiere any applets, plugins or similar.

javascriptObject works with every browser that can handle images and supports javascript.



First keep in mind that this is not a MATLAB tutorial. This is just a list of tricks I have found useful while writing my toolboxes available on the MATLAB Central repository.

You can e-mail me if you have corrections about these pieces...



For purposes of these tools, a quaternion, q, is just a four element vector where q(1:3) is the "imaginary" or "vector" portion of the hypercomplex number, and q(4) is the "real" or "scalar" portion....



The SDL Component Suite for Delphi contains 28 Delphi units covering a wide range of applications in science and engineering, e.g. math, statistics, chemistry, data visualisation, modelling, etc. Together with programming example the entire...



The SDL Component Suite for Delphi contains 28 Delphi units covering a wide range of applications in science and engineering, e.g. math, statistics, chemistry, data visualisation, modelling, etc. Together with programming example the entire...

User Review for 3D Rotation about Shifted Axis
- required fields
     

Please enter text on the image