vtkmodules.util.vtkMethodParser#

This python module provides functionality to parse the methods of a VTK object.

Created by Prabhu Ramachandran. Committed in Apr, 2002.

Module Contents#

Classes#

VtkDirMethodParser

Parses the methods from dir(vtk_obj).

VtkPrintMethodParser

This class finds the methods for a given vtkObject. It uses the output from vtkObject->Print() (or in Python str(vtkObject)) and output from the VtkDirMethodParser to obtain the methods.

Functions#

Data#

API#

vtkmodules.util.vtkMethodParser.DEBUG#

0

vtkmodules.util.vtkMethodParser.debug(msg)#
class vtkmodules.util.vtkMethodParser.VtkDirMethodParser#

Parses the methods from dir(vtk_obj).

initialize_methods(vtk_obj)#
parse_methods(vtk_obj)#
clean_up_methods(vtk_obj)#
clean_get_set(vtk_obj)#
clean_state_methods(vtk_obj)#
clean_get_methods(vtk_obj)#
toggle_methods()#
state_methods()#
get_set_methods()#
get_methods()#
class vtkmodules.util.vtkMethodParser.VtkPrintMethodParser#

This class finds the methods for a given vtkObject. It uses the output from vtkObject->Print() (or in Python str(vtkObject)) and output from the VtkDirMethodParser to obtain the methods.

parse_methods(vtk_obj)#

Parse for the methods.

_get_str_obj(vtk_obj)#
_initialize_methods(vtk_obj)#

Do the basic parsing and setting up

_clean_up_methods(vtk_obj)#

Merge dir and str methods. Finish up.

toggle_methods()#
state_methods()#
get_set_methods()#
get_methods()#