Polygon Displayer
A polygon displayer has the following basic characteristics:
Class
Category
Single
Inherits from
Number of real data sets displayed
1
Can be used with all types of projections
Yes
Items drawn
Polygon
Polygon Displayers in a Cartesian Chart and in a Polar Chart illustrates the fact that a polygon displayer can be used with all types of projections. Data sets are represented by polygon displayers in a Cartesian chart (using a Cartesian projection) and in a polar chart (using a polar projection).
Polygon Displayers in a Cartesian Chart and in a Polar Chart
We can use the polygon displayer displaying the cyan polygon as an example. We can create this displayer by using the following code:
IlvPolygonChartDisplayer* displayer = new IlvPolygonChartDisplayer();
displayer->setForeground(dpy->getColor("blue"));
displayer->setBackground(dpy->getColor("cyan"));
Note: By default, the polygon is outlined with the foreground color and filled with the background color of the defined palette. It will be displayed only with the outline if the Drawn Filled property is set to IlvFalse.
Published date: 05/24/2022
Last modified date: 02/24/2022