Transform Toolbar - Surfaces

images\tbar_transsurface.gif

 

Target box Operator box Parameter box

 

The Transform toolbar makes changes throughout the entire surface. If a selection is present it will operate only on those pixels in the selection. If no selection is present it will apply to all pixels in the surface.

 

The Transform toolbar consists of three boxes, from left to right: a target box, the operator box, and a parameter box.

 

Target box

The pixels that will be affected, altered or which will control the operation. The target box will be pre-loaded with either [All Pixels] or with [Selection] depending on whether a selection is present or not.

Operator box

The function to be applied. The operator box is context sensitive and will show only those operations that make sense for surfaces.

Parameter box

The value to be used. Depending on the operator, this may be another pixel set or a value entered by the user. Many operators, such as Crop, do not require a parameter. The parameter box will not be enabled for such operators.

 

We use dark blue, black, and violet bold face fonts in this topic to distinguish the three boxes to make examples and explanation more clear. In real life Manifold uses the same black font color in all three Transform toolbar boxes.

 

Using the Transform toolbar

 

1. Click on the map layer or surface that contains the target pixels.

2. Make a selection if the operation is to be applied just to the selection.

3. Choose the desired operator in the operator box.

4. Choose or specify a value in the parameter box, if this operation requires it.

5. Press Apply.

 

Target box

 

images\tbar_transimage_pix.gif

 

The left-most box specifies the target pixels. These are the pixels that will be affected, altered or which will control the operation. The example above shows that there is no selection present, so the Transform toolbar will apply the Transform function to all of the pixels in the surface. If we make a selection, the target box would switch to [Selection] to show that whatever operation we apply with the Transform toolbar will act only on those pixels that are part of the current selection.

 

The target box is not enabled for changes when used with surfaces because the scope of the operation (All Pixels or Selection) is automatically determined by whether there is a selection present or not. When used with Tables, where the scope (which fields) can be user selected, the target box will be enabled for changes.

 

Operator box

 

images\tbar_transurface_opr.gif

 

Choose a function from the long list of operators available in the operator box. The example shows Add Noise, which will add random noise pixels to the surface. Note that many operators in the Transform toolbar's operator box are simplified versions of more flexible operators in the Surface menu. The Transform Operators - Surfaces topic lists operators available for use with surfaces. Many of these operators are the same as or directly analogous to transform operators used with images.

 

Parameter box

 

Many operators do not require any parameters. For these functions the parameter box will be disabled. Other functions will require specification of an additional parameter. This may be another pixel set (such as [All Pixels], [Selection] or the names of saved selections), or more frequently it could be a parameter that is entered by the user. To enter a parameter, click into the parameter box, enter the value using the keyboard and then press Enter.

 

Examples

 

[All Pixels] Rotate -90 - Rotate the surface counter-clockwise 90 degrees.

 

[Selection] Crop - Crop the surface to the minimum enclosing rectangle of the selection.