/**
  * Outputs the Povray code for a leaf object
  *
  * @param w The output stream
  */
 private void writeLeafDeclaration() {
   double length = tree.getLeafLength();
   double width = tree.getLeafWidth();
   w.println("#include \"arbaro.inc\"");
   w.println(
       "#declare "
           + povrayDeclarationPrefix
           + "leaf = "
           + "object { Arb_leaf_"
           + (tree.getLeafShape().equals("0") ? "disc" : tree.getLeafShape())
           + " translate "
           + (tree.getLeafStemLength() + 0.5)
           + "*y scale <"
           + width
           + ","
           + length
           + ","
           + width
           + "> }");
 }