USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::GridGraphicsItem Class Reference

The visual display of the find point. More...

#include <GridGraphicsItem.h>

Inheritance diagram for Isis::GridGraphicsItem:
Inheritance graph
Collaboration diagram for Isis::GridGraphicsItem:
Collaboration graph

Public Member Functions

 GridGraphicsItem (Latitude baseLat, Longitude baseLon, Angle latInc, Angle lonInc, MosaicSceneWidget *projectionSrc, int density, Latitude latMin, Latitude latMax, Longitude lonMin, Longitude lonMax)
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0)
 
virtual QRectF boundingRect () const
 

Private Member Functions

QRectF calcRect () const
 
QRectF rect () const
 
void setRect (QRectF newBoundingRect)
 

Private Attributes

QRectF m_boundingRect
 

Detailed Description

The visual display of the find point.

Author
2011-05-07 Steven Lambright
History:

2011-05-10 Steven Lambright - Fixed problem with boundingRect()

2012-07-10 Kimberly Oyama - Added the latitude and longitude extents as parameters to the constructor to support the new grid functionallity of user specified extents (map projection, bounding rectangle of the open cubes, manually entered). Also modified the constructor so it can handle drawing grids for both planetocentric and planetographic latitudes. Fixes #604.

2013-02-06 Steven Lambright - Added a safety check to make sure the increments aren't zero or negative. References #1060.

2013-03-06 Steven Lambright - Added support for getting target radii from the TargetName mapping keyword if the target radii keywords are missing. References #1534.

Definition at line 39 of file GridGraphicsItem.h.


The documentation for this class was generated from the following files: