#NEWLINE# @ classmethod #NEWLINE# def register_ports( cls , reg , basic ) : #NEWLINE# #INDENT# reg . add_input_port ( cls , 'vtkDataSet' , reg . registry . get_descriptor_by_name ( 'edu.utah.sci.vistrails.vtk' , 'vtkDataSet' ) . module ) #NEWLINE# reg . add_input_port ( cls , 'IncludeScalars' , ( basic . Boolean , 'Include Scalars in Output' ) , True ) #NEWLINE# reg . add_output_port ( cls , 'Output' , ( NDArray , 'Output Array' ) )