| Switch To - Make the highlighted layer the active layer in the map. Double clicking on
a layer also will make it the active layer.
| |
| Show All - Show all layers in the map.
| |
| Hide All - Do not show any layers in the map.
| |
| Move to Top - Move the active layer to the top of the layer stack.
| |
| Move Up - Move the active layer up one position in the layer stack.
| |
| Move Down - Move the active layer down one position in the layer stack.
| |
| Move to Bottom - Move the active layer to the bottom of the layer stack.
| |
| Delete Layer - Remove this layer from the map.
| |
| Restrictions - Show and edit layer restrictions for the highlighted layer.
| |
| View Transparency - Show transparency controls for layers.
| |
| Properties - Show properties for this component. Equivalent to opening the component in
its own window and choosing View - Properties .
|
The layers pane shows edit restrictions with a no marking each restriction. The "yes" implied by default is not shown for greater legibility. For example, in the
above illustration the Cities layer is clickable but not editable or selectable. Double-click into any
restriction setting in the layers pane to toggle it between no and the default yes setting.
If we were to right click on the Cities layer tab in the map and choose Restrictions the Layer Restrictions dialog would show restrictions status for that layer. In this dialog a check
mark enables the function and no check mark removes the function. For example
unchecking the Enable mouse edits box will prevent a CTRL-ALT click on an object in that layer from selecting it for editing.
Layer restrictions are used to show layers in maps while preventing some
layers from participating in mouse commands. This makes it easier to edit desired
layers in complex maps. Another use for layer restrictions is in Manifold IMS to restrict the action of hyperlinks or the Info tool to a limited set of layers.
Layer restrictions operate only with mouse commands. Keyboard and menu
commands are not limited by layer restrictions. For example, if a layer has had the Enable mouse selection checkbox unchecked none of the mouse selection commands will select objects
in that layer. However, using CTRL-A or Edit - Select All will select all objects in that layer, the query toolbar will select objects in that layer and queries will select objects in that layer.
Layer Transparency
Image layers may be given a transparency percentage that applies to the entire
layer. Zero percent is no transparency (totally opaque) while one hundred
percent makes the layer totally transparent. If an image layer contains an RGBa image where individual pixels may have different degrees of transparency, the
layer transparency will be evenly combined in a proportional way with all
pixels.
By default, drawings are shown using the checkerboard background Manifold uses
to provide a backdrop for any transparent regions. The layers pane is shown
to the right of the drawing window.
Checking the Background box in the layers pane will replace the checkerboard background with whatever
is the default background color.
Checking the Borders box will draw a one-pixel border that represents the minimum enclosing box
for all objects in the drawing. When working with drawings that include
points, using the Border is a handy way to see if any very small objects exist far away and unnoticed
from other objects, since the border will expand to include all objects.
Using the Layers Pane with Images
The Layers pane shows all of the channels in the active image. The appearance of pixels
comes from blending primary colors called channels. Channels and their use via the Layers pane are described in detail in the RGB Images and Channels topic.
RGB images consist of three channels: red, green and blue.
By checking or unchecking the channel boxes we can turn each channels ON or
OFF for display. For example, checking only the channel for blue and unchecking
red and green channels will display a standard RGB image using only the blue
tones of which it consists.
RGBa images have an additional channel called the Alpha channel that specifies transparency for each pixel.
If we have an RGBa image like the one above,
We can uncheck the Alpha channel.
Doing so removes the influence of the alpha transparency channel and so
displays the image as an ordinary RGB image without per-pixel alpha transparency
applied.
Compressed images will show R, G and B layers in the layers pane. If channel data from a
multi-spectral image has been assigned to the alpha channel for a compressed image
using the View - Display Options pane, then an alpha channel layer will appear in the layers pane as well for
a compressed image.
See the Images topic and the RGB Images and Channels topic for additional examples using the checkboxes.
Grayscale and Palette Images
Both grayscale and palette images have one channel:
A grayscale image is simply a palette image with a grayscale palette. For
both grayscale and palette images the single palette channel will be shown in the
Layers pane for these image types.
Border and Background
The border and background "layers" appear in the layers pane for images.
These checkboxes control the appearance of a border frame around the image as well
as the appearance of background color. The screen shots below illustrate the
border and background layers pane elements using our sample bronze image. In the examples all pixels other than those in the monument itself
have been selected and then deleted so that they are invisible pixels .
The default appearance of invisible pixels is complete transparency, which
shows the checkerboard backdrop of all Manifold windows. Without a border it is
difficult to see where the image ends.
Checking the Border box will turn on a one-pixel wide black border about the edges of the image.
This immediately lets us see the horizontal and vertical size of the image.
Checking the Background box fills in the image window with background color. This shows us what
the image will look like if printed or rendered into a graphics format like .gif or .jpg that does not support alpha transparency.
On a white background it may be difficult to tell where the actual image
begins and ends. We can check both Border and Background to see how the image looks as well as seeing the extent of the image.
The Layers Pane and Layouts
When a print layout window has the focus the layers pane will show each item
in the layout as a layer. Available commands include:
In the example above we see a layout together with the layers pane. The
layout is based on a main element that is a drawing of Europe. Below it is a text
element that consist of the phrase "Copyright 2002" repeated several times in an
outline font using a light gray color. Above the main element is another text
element giving the title, "Europe," and two images, the example Bronze and Schloss images. The Background layer is turned off, so behind the layout page we see the checkerboard
pattern used in Manifold when there is no background.
Note that the layout elements added with layout tools, such as text, are shown
in the layers pane with special "layout element" icons. Text elements will
be named using the initial characters of their text.
With many overlapping elements in a layout we can use the layers pane to turn
off upper elements if we want to select or otherwise work with lower elements.
Layouts in the Layers Pane with other Components
If a component has any Layouts created they will appear as "layers" in the layers pane for that component.
Checking the box for one of these print layout layers will cause a layout
rectangle to appear in the component that shows the region covered by the layout.
In the illustration above the drawing has four layouts that show different
parts of Mexico. Three of the layouts have been checked in the layers pane
causing three layout preview rectangles to appear in the drawing.
The preview layout rectangles will be automatically adjusted if we change the
scope of the layout.
For example, suppose we open a drawing window and a layout window for the same
drawing and show the layout in the drawing window by checking the layout
layer's checkbox. We select an area in the drawing by clicking on it with Select Touch. The scope of the layout (set by right clicking the layout in the layout
window and choosing Properties is set to entire component.
If we now change the scope of the layout to be the selection, the layout will show only the selected objects (one area, Germany, in this
illustration) and simultaneously the drawing window will be updated to show the
new region covered by this area.
Right clicking onto the hatched border of one of the layout rectangles in the
drawing will cause a context menu to appear with controls based on that layout
rectangle. For example, we can Zoom to a given layout rectangle, Print it or change its Properties. If a layout is empty (for example, if the layout scope is set to selection and nothing is selected in the parent component) zooming to the layout will
do nothing.
Use Tools - Options - Colors - Layout Rectangle to change the color in which layout rectangles are shown. The default color
is black.
Notes
One way of "seeing" invisible pixels is to use the Selections pane built-in invisible pixels selection and to push in the Preview button in the Selections pane to see any invisible pixels in blue preview
color. However, invisible pixels are not the only way to render pixels
invisible in Manifold images. If the image is an RGBa image it is possible to select
some pixels and to set their alpha channel transparency very high so that they
are completely transparent. In this case they are not invisible pixels and will
not appear in the invisible pixels system selection in the Selections pane.
Only maps can have true "layers" in Manifold in the sense that they can layer
more than one component within the same map window. Neither the border and
background "layers" in the Layers pane for drawings and images, nor the channel
"layers" in the Layers pane for images are true layers even though they appear in
the Layers pane in the same manner as do layers in maps. These are simply
system controls that take advantage of the Layers pane as a conceptually
convenient user interface.
See Also:
RGB Images and Channels
RGBa Pixel Transparency
Masks
Painting within Channels
Separating Images by Channels
Combining Channels into Images
Layouts