Skip to content
danbim edited this page Jul 20, 2011 · 2 revisions

An instance of the NodeSensorRange plugin illustrates the area next to the node, that can be covered by a sensor. One can define many values for a NodeSensorRange instance. The preference page can be seen below.

In addition to the usual graphical parameters (line width, color, etc.) one must define the form. Possible options are "Circle", "Rectangle" and "Cone". The reference point for the illustration of the sensor range is the position of the node, i.e. the radius of a circle starts here and the center of a rectangle is here as well. The edge with the acute angle of a the cone is also located at this position.

One must define a default range, which will be displayed for all nodes that fo not have a specific configuration in the table below. The specific configuration for the type of the range can be opened by clicking on the options button next to the selection field for the type.

The only options for a circle range is the radius. It is given with respect to the generally defined metric unit. A rectangle needs three parameters. The width and the height that must be defined with respect to the generally defined metric unit as well. The orientation value defines the angle in degrees how far the rectangle is turned to the right. A cone has three specific parameters, too. The first parameter is the length, e.g. the radius of the imaginary circle around the node, where the cone is a part of. Like for rectangles, the orientation defines the angel in degrees how far the cone is turned to the right. If the orientation angle is 0, the right edge of the cone is parallel to the x-axis. The view angle defines how wide the range is in degrees, i.e. a half circle would be 180 degrees.

See the illustration of an example instance of the NodeSensorRange plugin in the image below.

The NodeSensorRange plugin does not support metric. Thus it can be active together with an active SpringEmbedderPositioner instance. In case of an active SpringEmbedderPositioner, the range information is more informal and not absolute.

Clone this wiki locally