Eidolon
Public Member Functions | Public Attributes | List of all members
RegionPlotWidget Class Reference
Inheritance diagram for RegionPlotWidget:
Inheritance graph
Collaboration diagram for RegionPlotWidget:
Collaboration graph

Public Member Functions

def __init__ (self, plugin, parent=None)
 
def paintEvent (self, e)
 
def parentClosed (self, e)
 
def setCurrentTime (self, val=None)
 
def createRegion (self, x, y, rad, start, end, col)
 
def createLabel (self, x, y, rad, angle, text, color=0.0, font=QtGui.QFont("Arial", 20))
 
def setRegionColor (self, reg, col)
 
def setPlotObjectData (self, obj)
 
def updateGraph (self)
 
- Public Member Functions inherited from BasePlotWidget
def __init__ (self, plugin, parent=None)
 
def setTitle (self, title)
 
def setUpdated (self)
 
def setShowLegend (self, show=True, update=True)
 
def paintEvent (self, e)
 
def updateGraph (self)
 
def setPlotObjectData (self, obj)
 
def getDataTable (self)
 

Public Attributes

 plotarea
 
 regions
 
 labels
 
 timesteps
 
 matrix
 
 dataRange
 
 currentTime
 
 currentTimeIndex
 
 colormap
 
 colorbar
 
- Public Attributes inherited from BasePlotWidget
 plugin
 
 title
 
 updatedData
 
 legend
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  plugin,
  parent = None 
)

Member Function Documentation

◆ createLabel()

def createLabel (   self,
  x,
  y,
  rad,
  angle,
  text,
  color = 0.0,
  font = QtGui.QFont("Arial",20) 
)
Create a label centered at (x,y) and offset by the polar vector (rad,angle).

◆ createRegion()

def createRegion (   self,
  x,
  y,
  rad,
  start,
  end,
  col 
)
Create an ellipse centered at (x,y) with radius `rad' starting at radian angle `start' and ending at `end'
with colour `col'. The center is defined as the center of the circle of which the ellipse is a slice. The
ellipse is thus a full "pie slice" drawn over top of earlier defined slices.

◆ paintEvent()

def paintEvent (   self,
  e 
)

◆ parentClosed()

def parentClosed (   self,
  e 
)
Here is the call graph for this function:

◆ setCurrentTime()

def setCurrentTime (   self,
  val = None 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPlotObjectData()

def setPlotObjectData (   self,
  obj 
)
Here is the call graph for this function:

◆ setRegionColor()

def setRegionColor (   self,
  reg,
  col 
)
Here is the caller graph for this function:

◆ updateGraph()

def updateGraph (   self)
Here is the call graph for this function:

Member Data Documentation

◆ colorbar

colorbar

◆ colormap

colormap

◆ currentTime

currentTime

◆ currentTimeIndex

currentTimeIndex

◆ dataRange

dataRange

◆ labels

labels

◆ matrix

matrix

◆ plotarea

plotarea

◆ regions

regions

◆ timesteps

timesteps

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