{"action":"created","issue":{"url":"https://api.github.com/repos/Kitware/vtk-js/issues/842","repository_url":"https://api.github.com/repos/Kitware/vtk-js","labels_url":"https://api.github.com/repos/Kitware/vtk-js/issues/842/labels{/name}","comments_url":"https://api.github.com/repos/Kitware/vtk-js/issues/842/comments","events_url":"https://api.github.com/repos/Kitware/vtk-js/issues/842/events","html_url":"https://github.com/Kitware/vtk-js/issues/842","id":352350746,"node_id":"MDU6SXNzdWUzNTIzNTA3NDY=","number":842,"title":"model.rGBTransferFunction.getMTime is not a function","user":{"login":"tomhaitao","id":15882629,"node_id":"MDQ6VXNlcjE1ODgyNjI5","avatar_url":"https://avatars0.githubusercontent.com/u/15882629?v=4","gravatar_id":"","url":"https://api.github.com/users/tomhaitao","html_url":"https://github.com/tomhaitao","followers_url":"https://api.github.com/users/tomhaitao/followers","following_url":"https://api.github.com/users/tomhaitao/following{/other_user}","gists_url":"https://api.github.com/users/tomhaitao/gists{/gist_id}","starred_url":"https://api.github.com/users/tomhaitao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomhaitao/subscriptions","organizations_url":"https://api.github.com/users/tomhaitao/orgs","repos_url":"https://api.github.com/users/tomhaitao/repos","events_url":"https://api.github.com/users/tomhaitao/events{/privacy}","received_events_url":"https://api.github.com/users/tomhaitao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-21T01:19:46Z","updated_at":"2018-08-21T09:02:39Z","closed_at":null,"author_association":"NONE","body":"const actor = vtkImageSlice.newInstance();\r\nconst lookupTable = vtkColorTransferFunction.newInstance();\r\nconst preset = vtkColorMaps.getPresetByName('erdc_rainbow_bright');\r\nlookupTable.applyColorMap(preset);\r\nlookupTable.setMappingRange(...dataRange);\r\nlookupTable.updateRange();\r\nactor.getProperty().setRGBTransferFunction(0, lookupTable);\r\n\r\n\r\nI use this code but vtkImageProperty class line 60 is error:\r\n         model.rGBTransferFunction.getMTime is not a function\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Kitware/vtk-js/issues/comments/414604163","html_url":"https://github.com/Kitware/vtk-js/issues/842#issuecomment-414604163","issue_url":"https://api.github.com/repos/Kitware/vtk-js/issues/842","id":414604163,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDYwNDE2Mw==","user":{"login":"tomhaitao","id":15882629,"node_id":"MDQ6VXNlcjE1ODgyNjI5","avatar_url":"https://avatars0.githubusercontent.com/u/15882629?v=4","gravatar_id":"","url":"https://api.github.com/users/tomhaitao","html_url":"https://github.com/tomhaitao","followers_url":"https://api.github.com/users/tomhaitao/followers","following_url":"https://api.github.com/users/tomhaitao/following{/other_user}","gists_url":"https://api.github.com/users/tomhaitao/gists{/gist_id}","starred_url":"https://api.github.com/users/tomhaitao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomhaitao/subscriptions","organizations_url":"https://api.github.com/users/tomhaitao/orgs","repos_url":"https://api.github.com/users/tomhaitao/repos","events_url":"https://api.github.com/users/tomhaitao/events{/privacy}","received_events_url":"https://api.github.com/users/tomhaitao/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T09:02:39Z","updated_at":"2018-08-21T09:02:39Z","author_association":"NONE","body":"How to set color for vtkImageSlice?"}}
{"actor":{"display_login":"tomhaitao"}}