def __init__(self, parent):
super(MeshViewerCanvas, self).__init__(parent)
self.GUIState = STATE_NORMAL
self.GUISubstate = SUBSTATE_NONE
self.clearAllSelections()
#State variables for heat, etc
(self.eigvalues, self.eigvectors) = (np.array([]), np.array([]))
self.heatIdx = 0
self.heat_ts = np.linspace(0, 1000, 100)
#State variables for color picking
self.colorPickTexID = None
self.colorPosVBO = None
self.colorColorVBO = None
self.Bind(wx.EVT_KEY_DOWN, self.onKeyPress)
self.Bind(wx.EVT_KEY_UP, self.onKeyRelease)
self.pressingC = False
评论列表
文章目录