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

Public Member Functions

def __init__ (self, matsrc, mgr, parent=None)
 
def getValues (self)
 
def setLinearAlpha (self, linear)
 
def setValues (self, colorIndex=None, alphaIndex=None)
 
def interpolateColor (self, t)
 
- Public Member Functions inherited from BaseSpectrumWidget
def __init__ (self, parent=None, minheight=240)
 
def getValues (self)
 
def setValues (self, colorIndex=None, alphaIndex=None)
 
def interpolateColor (self, t)
 
def setLinearAlpha (self, linear)
 
def setDoubleHeight (self, dblHeight)
 
def getSpectrumDim (self)
 
def mousePressEvent (self, e)
 
def mouseDoubleClickEvent (self, e)
 
def wheelEvent (self, e)
 
def mouseMoveEvent (self, e)
 
def keyPressEvent (self, e)
 
def paintEvent (self, e)
 

Public Attributes

 matsrc
 
 mgr
 
 isLinearAlpha
 
 colors
 
 colorpos
 
 alphactrls
 
- Public Attributes inherited from BaseSpectrumWidget
 minheight
 
 isDblHeight
 
 bg
 
 bar
 
 colors
 
 colorpos
 
 alphactrls
 
 bottomheight
 
 margin
 
 markerheight
 
 markerwidth
 
 markerangle
 
 ctrlradius
 
 isLinearAlpha
 
 colorselected
 
 alphaselected
 
 delMarker
 
 expandMarker
 
 linMarker
 
 minv
 
 maxv
 
 minx
 
 maxx
 

Additional Inherited Members

- Static Public Attributes inherited from BaseSpectrumWidget
 UPARROW
 
 DOWNARROW
 

Detailed Description

This displays and manipulates the spectrum of a list of attached Material object.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  matsrc,
  mgr,
  parent = None 
)
Associate this widget with the list of materials `matsrc'.

Member Function Documentation

◆ getValues()

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

◆ interpolateColor()

def interpolateColor (   self,
  t 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLinearAlpha()

def setLinearAlpha (   self,
  linear 
)
Here is the caller graph for this function:

◆ setValues()

def setValues (   self,
  colorIndex = None,
  alphaIndex = None 
)
Here is the caller graph for this function:

Member Data Documentation

◆ alphactrls

alphactrls

◆ colorpos

colorpos

◆ colors

colors

◆ isLinearAlpha

isLinearAlpha

◆ matsrc

matsrc

◆ mgr

mgr

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