def _write_special(self, name, out):
        tname = get_tvtk_name(name)
        writer = '_write_%s'%tname
        if hasattr(self, writer):
            getattr(self, writer)(out)
Given the name of the class, call appropriate method, if
dataset/ETHPy150Open enthought/mayavi/tvtk/special_gen.py/SpecialGenerator._write_special