com.PostHorizon.renderMan.rib
Class RIBOutASCII

java.lang.Object
  |
  +--com.PostHorizon.renderMan.rib.RIBOut
        |
        +--com.PostHorizon.renderMan.rib.RIBOutASCII

public class RIBOutASCII
extends RIBOut

ASCII RIB Output

Provides full ASCII RIB output support.

A mechanism for automatic and manual indentation is provided. If automatic indentation is enabled (via autoIndent), each *Begin and *End call affects the current indentation level; otherwise, the public indentLevel parameter must be manually set any time a change in indentation is desired. The indentFactor field affects the number of spaces by which each indentation level increases the actual indentation.

Version:
0.92.5
Author:
Sean Cier (scier@PostHorizon.com)

Constructor Summary
RIBOutASCII()
           
RIBOutASCII(java.io.OutputStream _out)
           
RIBOutASCII(java.io.OutputStream _out, boolean _autoIndent, int _indentFactor)
           
RIBOutASCII(java.io.PrintWriter _out)
           
RIBOutASCII(java.io.PrintWriter _out, boolean _autoIndent, int _indentFactor)
           
 
Method Summary
 void attributeBegin()
           
 void attributeEnd()
           
 void begin()
           
 void end()
           
 void frameBegin(int number)
           
 void frameEnd()
           
 boolean getAutoIndent()
           
 int getIndentFactor()
           
 void motionBegin(int n, double[] time)
           
 void motionEnd()
           
 ObjectHandle objectBegin()
           
 void objectEnd()
           
 void setAutoIndent(boolean value)
           
 void setIndentFactor(int value)
           
 void solidBegin(java.lang.String type)
           
 void solidEnd()
           
 void transformBegin()
           
 void transformEnd()
           
 void worldBegin()
           
 void worldEnd()
           
 
Methods inherited from class com.PostHorizon.renderMan.rib.RIBOut
archiveRecord, areaLightSource, atmosphere, attribute, basis, bound, clipping, color, colorSamples, concatTransform, cone, coordinateSystem, coordSysTransform, cropWindow, curves, cylinder, declare, deformation, depthOfField, detail, detailRange, disk, displacement, display, errorHandler, exposure, exterior, format, frameAspectRatio, generalPolygon, geometricApproximation, geometry, getStrictParamTyping, hider, hyperboloid, identity, illuminate, imager, interior, lightSource, makeBump, makeCubeFaceEnvironment, makeLatLongEnvironment, makeShadow, makeTexture, matte, motionBegin, nuPatch, objectInstance, opacity, option, orientation, paraboloid, patch, patchMesh, perspective, pixelFilter, pixelSamples, pixelVariance, points, pointsGeneralPolygons, pointsPolygons, polygon, procedural, projection, quantize, readArchive, relativeDetail, reverseOrientation, rotate, scale, screenWindow, setStrictParamTyping, shadingInterpolation, shadingRate, shutter, sides, skew, sphere, subdivisionMesh, surface, textureCoordinates, torus, transform, transformPoints, translate, trimCurve
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RIBOutASCII

public RIBOutASCII(java.io.PrintWriter _out,
                   boolean _autoIndent,
                   int _indentFactor)

RIBOutASCII

public RIBOutASCII(java.io.PrintWriter _out)

RIBOutASCII

public RIBOutASCII(java.io.OutputStream _out,
                   boolean _autoIndent,
                   int _indentFactor)

RIBOutASCII

public RIBOutASCII(java.io.OutputStream _out)

RIBOutASCII

public RIBOutASCII()
Method Detail

getAutoIndent

public boolean getAutoIndent()

getIndentFactor

public int getIndentFactor()

setAutoIndent

public void setAutoIndent(boolean value)

setIndentFactor

public void setIndentFactor(int value)

end

public void end()
         throws RMException
Overrides:
end in class RIBOut

attributeBegin

public void attributeBegin()
                    throws RMException
Overrides:
attributeBegin in class RIBOut

attributeEnd

public void attributeEnd()
                  throws RMException
Overrides:
attributeEnd in class RIBOut

begin

public void begin()
           throws RMException
Overrides:
begin in class RIBOut

frameBegin

public void frameBegin(int number)
                throws RMException
Overrides:
frameBegin in class RIBOut

frameEnd

public void frameEnd()
              throws RMException
Overrides:
frameEnd in class RIBOut

motionBegin

public void motionBegin(int n,
                        double[] time)
                 throws RMException
Overrides:
motionBegin in class RIBOut

motionEnd

public void motionEnd()
               throws RMException
Overrides:
motionEnd in class RIBOut

objectBegin

public ObjectHandle objectBegin()
                         throws RMException
Overrides:
objectBegin in class RIBOut

objectEnd

public void objectEnd()
               throws RMException
Overrides:
objectEnd in class RIBOut

solidBegin

public void solidBegin(java.lang.String type)
                throws RMException
Overrides:
solidBegin in class RIBOut

solidEnd

public void solidEnd()
              throws RMException
Overrides:
solidEnd in class RIBOut

transformBegin

public void transformBegin()
                    throws RMException
Overrides:
transformBegin in class RIBOut

transformEnd

public void transformEnd()
                  throws RMException
Overrides:
transformEnd in class RIBOut

worldBegin

public void worldBegin()
                throws RMException
Overrides:
worldBegin in class RIBOut

worldEnd

public void worldEnd()
              throws RMException
Overrides:
worldEnd in class RIBOut