Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.pqt.autorib.instr
Class InstrCombinePolys  view InstrCombinePolys download InstrCombinePolys.java

java.lang.Object
  extended byorg.pqt.autorib.instr.InstrRequest
      extended byorg.pqt.autorib.instr.InstrCombinePolys

public class InstrCombinePolys
extends InstrRequest

A class to handle the CombinePoly instruction, which combines several polygons into a single polygon, if possible converting that polygon into a PointsPolygon


Field Summary
 
Fields inherited from class org.pqt.autorib.instr.InstrRequest
requestID, requestName
 
Constructor Summary
InstrCombinePolys(InstrWReader in)
           
 
Method Summary
 void process(InstrWReader rw, org.pqt.autorib.rib.RIBObjectGroup object)
          Apply this instruction to an object group
private  void processPolygon(org.pqt.autorib.rib.RIBCombinedPoly cp, org.pqt.autorib.rib.RIBRequest rq)
           
 void read(InstrWReader in)
          read the instruction call and store it
 void write(java.io.Writer out)
          write out this instruction and its parameters - used for debugging only
 
Methods inherited from class org.pqt.autorib.instr.InstrRequest
checkShaderType, process, readRequestName, writeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrCombinePolys

public InstrCombinePolys(InstrWReader in)
                  throws java.io.IOException,
                         org.pqt.autorib.tokenizer.FormatException
Method Detail

read

public 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

processPolygon

private void processPolygon(org.pqt.autorib.rib.RIBCombinedPoly cp,
                            org.pqt.autorib.rib.RIBRequest rq)

process

public void process(InstrWReader rw,
                    org.pqt.autorib.rib.RIBObjectGroup object)
             throws org.pqt.autorib.tokenizer.FormatException,
                    java.io.IOException
Description copied from class: InstrRequest
Apply this instruction to an object group

Overrides:
process in class InstrRequest