PolygonPlotObject Class Reference

A set of points connected by a line. More...

#include <PolygonPlotObject.h>

Inheritance diagram for PolygonPlotObject:

Inheritance graph

List of all members.

Public Member Functions

virtual ColorType getFillColor () const =0
virtual FillStyle getFillStyle () const =0
virtual SymbolType getHatchStyle () const =0
virtual bool isFilled () const =0
virtual bool hit (LocationType point) const =0
virtual void setFillColor (const ColorType &fillColor)=0
virtual void setFillStyle (const FillStyle &fillStyle)=0
virtual void setHatchStyle (const SymbolType &hatchStyle)=0

Protected Member Functions

virtual ~PolygonPlotObject ()


Detailed Description

A set of points connected by a line.

This subclass of Subject will notify upon the following conditions:

See also:
PlotObject

Definition at line 30 of file PolygonPlotObject.h.


Constructor & Destructor Documentation

virtual PolygonPlotObject::~PolygonPlotObject (  )  [protected, virtual]

This should be destroyed by calling PlotView::deleteObject.

Definition at line 105 of file PolygonPlotObject.h.


Member Function Documentation

virtual ColorType PolygonPlotObject::getFillColor (  )  const [pure virtual]

Returns the polygon fill color.

Returns:
The polygon fill color

virtual FillStyle PolygonPlotObject::getFillStyle (  )  const [pure virtual]

Returns the polygon fill style.

Returns:
The polygon fill style
See also:
FillStyle

virtual SymbolType PolygonPlotObject::getHatchStyle (  )  const [pure virtual]

Returns the hatch style.

Returns:
The hatch style
See also:
SymbolType

virtual bool PolygonPlotObject::isFilled (  )  const [pure virtual]

Returns the fill state of the polygon.

Returns:
True, is filled, false is not filled

virtual bool PolygonPlotObject::hit ( LocationType  point  )  const [pure virtual]

Determines if this plot object resides at this point, most likely a mouse click.

Parameters:
point The location of the mouse click
Returns:
True if the plot object is at this point. This check includes the center if the object is filled, otherwise it only includes the outline.

Implements PointSet.

virtual void PolygonPlotObject::setFillColor ( const ColorType fillColor  )  [pure virtual]

Sets the polygon fill color.

Parameters:
fillColor The new color
Subject Notifications:
This method will notify Subject::signalModified.

virtual void PolygonPlotObject::setFillStyle ( const FillStyle fillStyle  )  [pure virtual]

Sets the polygon fill style.

Parameters:
fillStyle The new fill style
Subject Notifications:
This method will notify Subject::signalModified.

virtual void PolygonPlotObject::setHatchStyle ( const SymbolType hatchStyle  )  [pure virtual]

Sets the polygon hatch style.

Parameters:
hatchStyle The new hatch sytle
Subject Notifications:
This method will notify Subject::signalModified.


Software Development Kit - Opticks 4.9.0 Build 16218