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

Quick Search    Search Deep

org.pqt.autorib.rib
Class RIBSubdivisionSurf  view RIBSubdivisionSurf download RIBSubdivisionSurf.java

java.lang.Object
  extended byorg.pqt.autorib.rib.RIBRequest
      extended byorg.pqt.autorib.rib.RIBPrimitive
          extended byorg.pqt.autorib.rib.RIBSubdivisionSurf
All Implemented Interfaces:
java.lang.Cloneable

public class RIBSubdivisionSurf
extends RIBPrimitive

Class for storing RIB PointsPolygons requests, and subdivision surfaces

Version:
$Header: /home/CVSRepository/autoribnew/org/pqt/autorib/rib/RIBSubdivisionSurf.java,v 1.1 2003/12/02 17:11:44 remote Exp $

Field Summary
 org.pqt.autorib.tokenizer.Token floatargs
          the floatargs parameter for the subdivision mesh, if the pointspolygon is converted - null for empty
 org.pqt.autorib.tokenizer.Token intargs
          the intargs parameter for the subdivision mesh, if the pointspolygon is converted - null for empty
 org.pqt.autorib.tokenizer.Token nargs
          the nargs parameter for the subdivision mesh, if the pointspolygon is converted - null for empty
 org.pqt.autorib.tokenizer.Token nverts
          stores
 java.lang.String scheme
          the scheme for the subdivision mesh
 org.pqt.autorib.tokenizer.Token tags
          the tags parameter for the subdivision mesh, if the pointspolygon is converted - null for empty
private  org.pqt.autorib.tokenizer.Token vertids
           
 
Fields inherited from class org.pqt.autorib.rib.RIBPrimitive
bounds, params
 
Fields inherited from class org.pqt.autorib.rib.RIBRequest
deleted, preContent, requestID, requestName
 
Constructor Summary
RIBSubdivisionSurf()
           
RIBSubdivisionSurf(org.pqt.autorib.tokenizer.Tokenizer in)
           
 
Method Summary
static RIBSubdivisionSurf create(RIBPointsPolygons poly, java.lang.String scheme, org.pqt.autorib.tokenizer.Token tags, org.pqt.autorib.tokenizer.Token nargs, org.pqt.autorib.tokenizer.Token intargs, org.pqt.autorib.tokenizer.Token floatargs)
           
 org.pqt.autorib.util.Bounds3D getLocalBounds()
          Calculate the bounding box for this primitive, or return one previously calculated, in object space
 void read(org.pqt.autorib.tokenizer.Tokenizer in)
          read an RIB call and store it
 void writeOther(java.io.Writer out)
          This method is overridden by subclasses to allow them to actually do the writing out of the Request and associated parameters etc.
 
Methods inherited from class org.pqt.autorib.rib.RIBPrimitive
calculateLocalPPwBounds, getTransformedBounds
 
Methods inherited from class org.pqt.autorib.rib.RIBRequest
filteredWrite, filteredWritePreContent, prepend, prepend, readRequestName, write, writePreContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nverts

public org.pqt.autorib.tokenizer.Token nverts
stores


vertids

private org.pqt.autorib.tokenizer.Token vertids

scheme

public java.lang.String scheme
the scheme for the subdivision mesh


tags

public org.pqt.autorib.tokenizer.Token tags
the tags parameter for the subdivision mesh, if the pointspolygon is converted - null for empty


nargs

public org.pqt.autorib.tokenizer.Token nargs
the nargs parameter for the subdivision mesh, if the pointspolygon is converted - null for empty


intargs

public org.pqt.autorib.tokenizer.Token intargs
the intargs parameter for the subdivision mesh, if the pointspolygon is converted - null for empty


floatargs

public org.pqt.autorib.tokenizer.Token floatargs
the floatargs parameter for the subdivision mesh, if the pointspolygon is converted - null for empty

Constructor Detail

RIBSubdivisionSurf

public RIBSubdivisionSurf()

RIBSubdivisionSurf

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

create

public static RIBSubdivisionSurf create(RIBPointsPolygons poly,
                                        java.lang.String scheme,
                                        org.pqt.autorib.tokenizer.Token tags,
                                        org.pqt.autorib.tokenizer.Token nargs,
                                        org.pqt.autorib.tokenizer.Token intargs,
                                        org.pqt.autorib.tokenizer.Token floatargs)

read

public void read(org.pqt.autorib.tokenizer.Tokenizer in)
          throws org.pqt.autorib.tokenizer.FormatException,
                 java.io.IOException
Description copied from class: RIBRequest
read an RIB call and store it

Specified by:
read in class RIBRequest

writeOther

public void writeOther(java.io.Writer out)
                throws java.io.IOException
Description copied from class: RIBRequest
This method is overridden by subclasses to allow them to actually do the writing out of the Request and associated parameters etc. It is called whenever any of the Write methods above are called.

Specified by:
writeOther in class RIBRequest

getLocalBounds

public org.pqt.autorib.util.Bounds3D getLocalBounds()
Description copied from class: RIBPrimitive
Calculate the bounding box for this primitive, or return one previously calculated, in object space

Specified by:
getLocalBounds in class RIBPrimitive