What does vtkTypeMacro() do???

Just look in the header vtkSetGet.h in Common/Core.