All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.internal.geometry.ImageTexture

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.internal.geometry.VrmlObject
                   |
                   +----vlc.vrml.internal.geometry.Texture
                           |
                           +----vlc.vrml.internal.geometry.ImageTexture

public class ImageTexture
extends Texture
JVerge

Version:
0.8 (beta 4) Copyright 1997 The Virtual Light Company under the GNU LGPL

The latest information and bugs in JVerge can be found at http://www.vlc.com.au/JVerge

For definition of the ImageTexture node please see the VRML 97 ImageTexture specification

Author:
Justin Couch justin@vlc.com.au

Constructor Index

 o ImageTexture()
Default Constructor.
 o ImageTexture(boolean, boolean)
Constructor used when you don't want to use the default settings for the texture repeating.
 o ImageTexture(Browser)
Default Constructor when you wish to supply your own Browser reference.
 o ImageTexture(Browser, boolean, boolean)
Constructor used when you don't want to use the default settings for the texture repeating.

Method Index

 o clone()
Make a clone of this object
 o get_url()
Get the list of URL/URNs being used for this texture.
 o set_url(String[])
Set the list of URL/URNs to be used for this texture.
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

 o ImageTexture
 public ImageTexture()
Default Constructor. Creates a default ImageTexture

 o ImageTexture
 public ImageTexture(Browser b)
Default Constructor when you wish to supply your own Browser reference. Creates a default ImageTexture

 o ImageTexture
 public ImageTexture(boolean rptS,
                     boolean rptT)
Constructor used when you don't want to use the default settings for the texture repeating.

Parameters:
rptS - true if to repeat in the S direction.
rptT - true if to repeat in the T direction.
 o ImageTexture
 public ImageTexture(Browser b,
                     boolean rptS,
                     boolean rptT)
Constructor used when you don't want to use the default settings for the texture repeating. You need to supply a Browser reference

Parameters:
b - A valid Browser reference.
rptS - true if to repeat in the S direction.
rptT - true if to repeat in the T direction.

Methods

 o writeToStream
 public void writeToStream(int indent)
Prints the formatted contents of this node to the given stream.

Parameters:
indent - The number of spaces to indent this node in the string
Overrides:
writeToStream in class VrmlObject
 o set_url
 public void set_url(String new_url[])
Set the list of URL/URNs to be used for this texture.

Parameters:
new_url - A list of strings one per URL or URN
 o get_url
 public String[] get_url()
Get the list of URL/URNs being used for this texture.

Returns:
A list of strings one per URL or URN
 o clone
 public Object clone()
Make a clone of this object

Returns:
A deep clone copy of this object
Overrides:
clone in class VrmlObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index