java.lang.Object
org.pqt.autorib.instr.InstrRequest
org.pqt.autorib.instr.InstrBlockRequest
org.pqt.autorib.instr.InstrAddRIB
- public class InstrAddRIB
- extends InstrBlockRequest
Add RIB to an existing object or light
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstrAddRIB
public InstrAddRIB(InstrWReader in)
throws java.io.IOException,
org.pqt.autorib.tokenizer.FormatException
read
public final void read(InstrWReader in)
throws java.io.IOException,
org.pqt.autorib.tokenizer.FormatException
- Description copied from class:
InstrRequest
- read the instruction call and store it
- Specified by:
read in class InstrRequest
write
public void write(java.io.Writer out)
throws java.io.IOException
- Description copied from class:
InstrRequest
- write out this instruction and its parameters - used for
debugging only
- Specified by:
write in class InstrRequest
process
public void process(InstrWReader rw,
org.pqt.autorib.rib.RIBLight light)
throws org.pqt.autorib.tokenizer.FormatException,
java.io.IOException
- add RIB to a light
- Overrides:
process in class InstrBlockRequest
process
public void process(InstrWReader rw,
org.pqt.autorib.rib.RIBObjectGroup object)
- add RIB that will be output before the beginning of the object, checking
first that it is not an attribute ('Color' 'Opacity' etc) in which case it
overrides the existing attribute
- Overrides:
process in class InstrBlockRequest
filter
protected boolean filter(org.pqt.autorib.rib.RIBLight light)
throws org.pqt.autorib.tokenizer.FormatException
- Description copied from class:
InstrBlockRequest
- return true if the instructions in the block should be executed
for the given light - return false by default - subclasses
should override this if they handle lights
- Overrides:
filter in class InstrBlockRequest
filter
protected boolean filter(org.pqt.autorib.rib.RIBObjectGroup object)
- Description copied from class:
InstrBlockRequest
- return true if the instructions in the block should be executed
for the given object - return false by default
- subclasses should override if they handle objects
- Overrides:
filter in class InstrBlockRequest