aPart.GetProperty().SetSurface();
aPart.GetProperty().SetRepresentationToSurface();
      public boolean keyDown(Event e, int key)         {        if (e.id == Event.KEY_PRESS)	  {	  if ('1' == e.key)	    {	    this.InteractionModeRotate();            }	  if ('2' == e.key)	    {	    this.InteractionModeTranslate();            }	  if ('3' == e.key)	    {	    this.InteractionModeZoom();            }          if ('r' == e.key)            {	    ren.ResetCamera();	    rw.Render();            }          if ('w' == e.key)            {	    vtkActorCollection ac;	    vtkActor anActor;            vtkActor aPart;	    int i, j;	  	    ac = ren.GetActors();            ac.InitTraversal();	    for (i = 0; i < ac.GetNumberOfItems(); i++)	      {              anActor = ac.GetNextItem();	      anActor.InitPartTraversal();              for (j = 0; j < anActor.GetNumberOfParts(); j++)                {                 aPart = anActor.GetNextPart();                aPart.GetProperty().SetWireframe();                }	      }	    rw.Render();            }          if ('s' == e.key)            {	    vtkActorCollection ac;	    vtkActor anActor;            vtkActor aPart;	    int i, j;	  	    ac = ren.GetActors();            ac.InitTraversal();	    for (i = 0; i < ac.GetNumberOfItems(); i++)	      {              anActor = ac.GetNextItem();	      anActor.InitPartTraversal();              for (j = 0; j < anActor.GetNumberOfParts(); j++)                {                 aPart = anActor.GetNextPart();                aPart.GetProperty().SetSurface();                }	      }	    rw.Render();            }          }        return true;        }