Difference between revisions of "HANtune/Image Manipulator"

From OpenMBD
Jump to: navigation, search
(Order of Manipulations)
(Order of Manipulations)
Line 62: Line 62:
  
 
The order of your manipulions matter. Have a look at the following examples.
 
The order of your manipulions matter. Have a look at the following examples.
 +
  
 
''If a square is first rotated and then scaled, the end result will be a diamond.''
 
''If a square is first rotated and then scaled, the end result will be a diamond.''
  
 
[[File:ManipulationOrder1.png|Manipulation order: first rotated and then scaled]]
 
[[File:ManipulationOrder1.png|Manipulation order: first rotated and then scaled]]
 +
  
 
''If a square is first scaled and then rotated, the end result will be a rotated rectangle.''
 
''If a square is first scaled and then rotated, the end result will be a rotated rectangle.''

Revision as of 14:36, 25 June 2019

The Image Manipulator is a viewer that can be used to transform an image based on the value of a signal. It allows you to either move, rotate, scale and/or transparentize an image using so called manipulations. By combining images, signals and manipulations a user is able to create powerful new viewers himself.

Manipulations

Move Manipulation

A move manipulation can be used to change an images X and Y position using pixels.

Move Manipulation

A move manipulation manipulating an image in the Y direction

Rotate Manipulation

A rotate manipulation can be used to change the angle of an image using degrees.

Move Manipulation

A rotate manipulation manipulating

Scale Manipulation

A scale manipulation can be used to change the width and height of an image using pixels.

Move Manipulation

Transparentize Manipulation

A transparentize manipulation can be used to change the transparency of an image using percentages.

Move Manipulation

Using the Image Manipulator

Adding a new Image Manipulator to your layout

Adding an image manipulator

Adding a Signal

Adding a signal

Adding an Image

Adding an image

An image of a cylinder

Placing the Image Manipulator

A selected viewer with an image of a piston


Move to front dialog option

Managing Manipulations

Manage Manipulations

Managing Manipulations

Edit Manipulation

Editting Manipulations

Order of Manipulations

The order of your manipulions matter. Have a look at the following examples.


If a square is first rotated and then scaled, the end result will be a diamond.

Manipulation order: first rotated and then scaled


If a square is first scaled and then rotated, the end result will be a rotated rectangle.

Manipulation order: first rotated and then scaled

Demo Project

HANtune_IM_Demo.zip