/** * Returns the canvas associated with this Viewer object. * @deprecated superceded by getCanvas3D() */ public Canvas3D getCanvases() { return getCanvas3D(); }
/** * Returns the Canvas3D object at the specified index associated with * this Java 3D Universe. * * @param canvasNum The index of the Canvas3D object to retrieve. * If there is no Canvas3D object for the given index, null is returned. * * @return A reference to the Canvas3D object associated with the * Viewer object. */ public Canvas3D getCanvas(int canvasNum) { return viewer[0].getCanvas3D(canvasNum); }