com.PostHorizon.renderMan.rib
Class RIBOut

java.lang.Object
  |
  +--com.PostHorizon.renderMan.rib.RIBOut
Direct Known Subclasses:
RIBOutASCII, RIBOutBinary

public abstract class RIBOut
extends java.lang.Object
implements RenderMan

RIB Output

This abstract class serves as a base for RIBOutASCII and RIBOutBinary; it should rarely needed on its own as the funcionality is encapsulated.

The only user-settable parameter it offers is strictParamTyping (on by default) which controls whether parameter-list variables are controlled strictly and all non-standard parameters required to be define()d first.

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

Fields inherited from interface com.PostHorizon.renderMan.RenderMan
A, ABORT, AMBIENTLIGHT, AMPLITUDE, ARCHIVE, AVERAGE, AZ, BACKFACETOLERANCE, BACKGROUND, BEAMDISTRIBUTION, bezierBasis, BEZIERSTEP, BICUBIC, BILINEAR, BLACK, boxFilter, bSplineBasis, BSPLINESTEP, BUMPY, CAMERA, CATMULLCLARK, catmullRomBasis, catmullRomFilter, CATMULLROMSTEP, CLAMP, COMMENT, CONEANGLE, CONEDELTAANGLE, CONSTANT, CONSTANTWIDTH, COORDINATESYSTEM, CORNER, CREASE, CS, CUBIC, DEPTHCUE, DEPTHFILTER, DIFFERENCE, DISPLACEMENTBOUND, DISPLAY, DISTANCE, DISTANTLIGHT, ENDOFFRAME, EPSILON, errorAbort, errorIgnore, errorPrint, EYESPLITS, FALSE, FILE, FLATNESS, FOG, FOV, FRAMEBUFFER, FROM, gaussianFilter, HANDLER, hermiteBasis, HERMITESTEP, HIDDEN, HOLE, IDENTIFIER, IGNORE, INFINITY, INSIDE, INTENSITY, INTERPOLATEBOUNDARY, INTERSECTION, JITTER, KA, KD, KR, KS, LH, LIGHTCOLOR, LIMITS, LINEAR, MATTE, MAX, MAXDISTANCE, METAL, MIDPOINT, MIN, MINDISTANCE, MOTIONFACTOR, N, NAME, NG, NONPERIODIC, NP, OBJECT, ORIGIN, ORTHOGRAPHIC, OS, OUTSIDE, P, PAINT, PAINTEDPLASTIC, PERIODIC, PERSPECTIVE, PLASTIC, POINTLIGHT, powerBasis, POWERSTEP, PRIMITIVE, PRINT, procDelayedReadArchive, procDynamicLoad, procRunProgram, PW, PZ, RADIUS, RASTER, RGB, RGBA, RGBAZ, RGBZ, RH, ROUGHNESS, S, SCREEN, SEARCHPATH, SHADER, SHINYMETAL, SIDES, sincFilter, SMOOTH, SPECULARCOLOR, SPHERE, SPOTLIGHT, ST, STATISTICS, STRUCTURE, T, TEXTURE, TEXTURENAME, TO, TRANSFORM, triangleFilter, TRIMDEVIATION, TRUE, UNION, WIDTH, WORLD, Z
 
Method Summary
 void archiveRecord(java.lang.String type, java.lang.String s)
           
 LightHandle areaLightSource(java.lang.String name, java.util.Map params)
           
 void atmosphere(java.lang.String name, java.util.Map params)
           
 void attribute(java.lang.String name, java.util.Map params)
           
 void attributeBegin()
           
 void attributeEnd()
           
 void basis(Matrix ubasis, int ustep, Matrix vbasis, int vstep)
           
 void begin()
           
 void bound(Bound bound)
           
 void clipping(double near, double far)
           
 void color(Color c)
           
 void colorSamples(int n, double[] nRGB, double[] RGBn)
           
 void concatTransform(Matrix m)
           
 void cone(double height, double radius, double thetamax, java.util.Map params)
           
 void coordinateSystem(java.lang.String space)
           
 void coordSysTransform(java.lang.String coordinatesystem)
           
 void cropWindow(double xmin, double xmax, double ymin, double ymax)
           
 void curves(java.lang.String type, int ncurves, int[] nvertices, java.lang.String wrap, java.util.Map params)
           
 void cylinder(double radius, double zmin, double zmax, double thetamax, java.util.Map params)
           
 java.lang.String declare(java.lang.String name, java.lang.String declaration)
           
 void deformation(java.lang.String name, java.util.Map params)
           
 void depthOfField(double fstop, double focallength, double focaldistance)
           
 void detail(Bound bound)
           
 void detailRange(double offlow, double onlow, double onhigh, double offhigh)
           
 void disk(double height, double radius, double thetamax, java.util.Map params)
           
 void displacement(java.lang.String name, java.util.Map params)
           
 void display(java.lang.String name, java.lang.String type, java.lang.String mode, java.util.Map params)
           
 void end()
           
 void errorHandler(ErrorHandler handler)
           
 void exposure(double gain, double gamma)
           
 void exterior(java.lang.String name, java.util.Map params)
           
 void format(int xresolution, int yresolution, double pixelaspectratio)
           
 void frameAspectRatio(double frameaspectratio)
           
 void frameBegin(int number)
           
 void frameEnd()
           
 void generalPolygon(int nloops, int[] nvertices, java.util.Map params)
           
 void geometricApproximation(java.lang.String type, double value)
           
 void geometry(java.lang.String type, java.util.Map params)
           
 boolean getStrictParamTyping()
           
 void hider(java.lang.String type, java.util.Map params)
           
 void hyperboloid(Point point1, Point point2, double thetamax, java.util.Map params)
           
 void identity()
           
 void illuminate(LightHandle light, boolean onoff)
           
 void imager(java.lang.String name, java.util.Map params)
           
 void interior(java.lang.String name, java.util.Map params)
           
 LightHandle lightSource(java.lang.String name, java.util.Map params)
           
 void makeBump(java.lang.String imagefile, java.lang.String bumpfile, java.lang.String swrap, java.lang.String twrap, FilterFunction filter, double swidth, double twidth, java.util.Map params)
           
 void makeCubeFaceEnvironment(java.lang.String px, java.lang.String nx, java.lang.String py, java.lang.String ny, java.lang.String pz, java.lang.String nz, java.lang.String reflfile, double fov, FilterFunction filter, double swidth, double twidth, java.util.Map params)
           
 void makeLatLongEnvironment(java.lang.String imagefile, java.lang.String reflfile, FilterFunction filter, double swidth, double twidth, java.util.Map params)
           
 void makeShadow(java.lang.String imagefile, java.lang.String shadowfile, java.util.Map params)
           
 void makeTexture(java.lang.String imagefile, java.lang.String texturefile, java.lang.String swrap, java.lang.String twrap, FilterFunction filter, double swidth, double twidth, java.util.Map params)
           
 void matte(boolean onoff)
           
 void motionBegin(double t0, double t1)
           
 void motionBegin(int n, double[] time)
           
 void motionEnd()
           
 void nuPatch(int nu, int uorder, double[] uknot, double umin, double umax, int nv, int vorder, double[] vknot, double vmin, double vmax, java.util.Map params)
           
 ObjectHandle objectBegin()
           
 void objectEnd()
           
 void objectInstance(ObjectHandle handle)
           
 void opacity(Color o)
           
 void option(java.lang.String name, java.util.Map params)
           
 void orientation(java.lang.String orientation)
           
 void paraboloid(double rmax, double zmin, double zmax, double thetamax, java.util.Map params)
           
 void patch(java.lang.String type, java.util.Map params)
           
 void patchMesh(java.lang.String type, int nu, java.lang.String uwrap, int nv, java.lang.String vwrap, java.util.Map params)
           
 void perspective(double fov)
           
 void pixelFilter(FilterFunction filterfunc, double xwidth, double ywidth)
           
 void pixelSamples(double xsamples, double ysamples)
           
 void pixelVariance(double variation)
           
 void points(int npoints, java.util.Map params)
           
 void pointsGeneralPolygons(int npolys, int[] nloops, int[] nvertices, int[] vertices, java.util.Map params)
           
 void pointsPolygons(int npolys, int[] nvertices, int[] vertices, java.util.Map params)
           
 void polygon(int nvertices, java.util.Map params)
           
 void procedural(java.lang.Object data, Bound bound, RefineFunction refineproc)
           
 void projection(java.lang.String name, java.util.Map params)
           
 void quantize(java.lang.String type, int one, int min, int max, double ditheramplitude)
           
 void readArchive(java.lang.String filename, java.util.Map params)
           
 void relativeDetail(double relativedetail)
           
 void reverseOrientation()
           
 void rotate(double angle, double dx, double dy, double dz)
           
 void scale(double sx, double sy, double sz)
           
 void screenWindow(double left, double right, double bottom, double top)
           
 void setStrictParamTyping(boolean value)
           
 void shadingInterpolation(java.lang.String type)
           
 void shadingRate(double size)
           
 void shutter(double min, double max)
           
 void sides(int nsides)
           
 void skew(double angle, double dx1, double dy1, double dz1, double dx2, double dy2, double dz2)
           
 void solidBegin(java.lang.String type)
           
 void solidEnd()
           
 void sphere(double radius, double zmin, double zmax, double thetamax, java.util.Map params)
           
 void subdivisionMesh(java.lang.String scheme, int nfaces, int[] nvertices, int[] vertices, int ntags, java.lang.String[] tags, int[] nargs, int[] intargs, double[] floatargs, java.util.Map params)
           
 void surface(java.lang.String name, java.util.Map params)
           
 void textureCoordinates(double s1, double t1, double s2, double t2, double s3, double t3, double s4, double t4)
           
 void torus(double majorradius, double minorradius, double phimin, double phimax, double thetamax, java.util.Map params)
           
 void transform(Matrix m)
           
 void transformBegin()
           
 void transformEnd()
           
 Point[] transformPoints(java.lang.String fromspace, java.lang.String tospace, int npoints, Point[] points)
           
 void translate(double dx, double dy, double dz)
           
 void trimCurve(int nloops, int[] ncurves, int[] order, double[] knot, double[] min, double[] max, int[] n, double[] u, double[] v, double[] w)
           
 void worldBegin()
           
 void worldEnd()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStrictParamTyping

public boolean getStrictParamTyping()

setStrictParamTyping

public void setStrictParamTyping(boolean value)

archiveRecord

public void archiveRecord(java.lang.String type,
                          java.lang.String s)
                   throws RMException
Specified by:
archiveRecord in interface RenderMan

areaLightSource

public LightHandle areaLightSource(java.lang.String name,
                                   java.util.Map params)
                            throws RMException
Specified by:
areaLightSource in interface RenderMan

atmosphere

public void atmosphere(java.lang.String name,
                       java.util.Map params)
                throws RMException
Specified by:
atmosphere in interface RenderMan

attribute

public void attribute(java.lang.String name,
                      java.util.Map params)
               throws RMException
Specified by:
attribute in interface RenderMan

attributeBegin

public void attributeBegin()
                    throws RMException
Specified by:
attributeBegin in interface RenderMan

attributeEnd

public void attributeEnd()
                  throws RMException
Specified by:
attributeEnd in interface RenderMan

basis

public void basis(Matrix ubasis,
                  int ustep,
                  Matrix vbasis,
                  int vstep)
           throws RMException
Specified by:
basis in interface RenderMan

begin

public void begin()
           throws RMException
Specified by:
begin in interface RenderMan

bound

public void bound(Bound bound)
           throws RMException
Specified by:
bound in interface RenderMan

clipping

public void clipping(double near,
                     double far)
              throws RMException
Specified by:
clipping in interface RenderMan

color

public void color(Color c)
           throws RMException
Specified by:
color in interface RenderMan

colorSamples

public void colorSamples(int n,
                         double[] nRGB,
                         double[] RGBn)
                  throws RMException
Specified by:
colorSamples in interface RenderMan

concatTransform

public void concatTransform(Matrix m)
                     throws RMException
Specified by:
concatTransform in interface RenderMan

cone

public void cone(double height,
                 double radius,
                 double thetamax,
                 java.util.Map params)
          throws RMException
Specified by:
cone in interface RenderMan

coordSysTransform

public void coordSysTransform(java.lang.String coordinatesystem)
                       throws RMException
Specified by:
coordSysTransform in interface RenderMan

coordinateSystem

public void coordinateSystem(java.lang.String space)
                      throws RMException
Specified by:
coordinateSystem in interface RenderMan

cropWindow

public void cropWindow(double xmin,
                       double xmax,
                       double ymin,
                       double ymax)
                throws RMException
Specified by:
cropWindow in interface RenderMan

curves

public void curves(java.lang.String type,
                   int ncurves,
                   int[] nvertices,
                   java.lang.String wrap,
                   java.util.Map params)
            throws RMException
Specified by:
curves in interface RenderMan

cylinder

public void cylinder(double radius,
                     double zmin,
                     double zmax,
                     double thetamax,
                     java.util.Map params)
              throws RMException
Specified by:
cylinder in interface RenderMan

declare

public java.lang.String declare(java.lang.String name,
                                java.lang.String declaration)
                         throws RMException
Specified by:
declare in interface RenderMan

deformation

public void deformation(java.lang.String name,
                        java.util.Map params)
                 throws RMException
Specified by:
deformation in interface RenderMan

depthOfField

public void depthOfField(double fstop,
                         double focallength,
                         double focaldistance)
                  throws RMException
Specified by:
depthOfField in interface RenderMan

detail

public void detail(Bound bound)
            throws RMException
Specified by:
detail in interface RenderMan

detailRange

public void detailRange(double offlow,
                        double onlow,
                        double onhigh,
                        double offhigh)
                 throws RMException
Specified by:
detailRange in interface RenderMan

disk

public void disk(double height,
                 double radius,
                 double thetamax,
                 java.util.Map params)
          throws RMException
Specified by:
disk in interface RenderMan

displacement

public void displacement(java.lang.String name,
                         java.util.Map params)
                  throws RMException
Specified by:
displacement in interface RenderMan

display

public void display(java.lang.String name,
                    java.lang.String type,
                    java.lang.String mode,
                    java.util.Map params)
             throws RMException
Specified by:
display in interface RenderMan

end

public void end()
         throws RMException
Specified by:
end in interface RenderMan

errorHandler

public void errorHandler(ErrorHandler handler)
                  throws RMException
Specified by:
errorHandler in interface RenderMan

exposure

public void exposure(double gain,
                     double gamma)
              throws RMException
Specified by:
exposure in interface RenderMan

exterior

public void exterior(java.lang.String name,
                     java.util.Map params)
              throws RMException
Specified by:
exterior in interface RenderMan

format

public void format(int xresolution,
                   int yresolution,
                   double pixelaspectratio)
            throws RMException
Specified by:
format in interface RenderMan

frameAspectRatio

public void frameAspectRatio(double frameaspectratio)
                      throws RMException
Specified by:
frameAspectRatio in interface RenderMan

frameBegin

public void frameBegin(int number)
                throws RMException
Specified by:
frameBegin in interface RenderMan

frameEnd

public void frameEnd()
              throws RMException
Specified by:
frameEnd in interface RenderMan

generalPolygon

public void generalPolygon(int nloops,
                           int[] nvertices,
                           java.util.Map params)
                    throws RMException
Specified by:
generalPolygon in interface RenderMan

geometricApproximation

public void geometricApproximation(java.lang.String type,
                                   double value)
                            throws RMException
Specified by:
geometricApproximation in interface RenderMan

geometry

public void geometry(java.lang.String type,
                     java.util.Map params)
              throws RMException
Specified by:
geometry in interface RenderMan

hider

public void hider(java.lang.String type,
                  java.util.Map params)
           throws RMException
Specified by:
hider in interface RenderMan

hyperboloid

public void hyperboloid(Point point1,
                        Point point2,
                        double thetamax,
                        java.util.Map params)
                 throws RMException
Specified by:
hyperboloid in interface RenderMan

identity

public void identity()
              throws RMException
Specified by:
identity in interface RenderMan

illuminate

public void illuminate(LightHandle light,
                       boolean onoff)
                throws RMException
Specified by:
illuminate in interface RenderMan

imager

public void imager(java.lang.String name,
                   java.util.Map params)
            throws RMException
Specified by:
imager in interface RenderMan

interior

public void interior(java.lang.String name,
                     java.util.Map params)
              throws RMException
Specified by:
interior in interface RenderMan

lightSource

public LightHandle lightSource(java.lang.String name,
                               java.util.Map params)
                        throws RMException
Specified by:
lightSource in interface RenderMan

makeBump

public void makeBump(java.lang.String imagefile,
                     java.lang.String bumpfile,
                     java.lang.String swrap,
                     java.lang.String twrap,
                     FilterFunction filter,
                     double swidth,
                     double twidth,
                     java.util.Map params)
              throws RMException
Specified by:
makeBump in interface RenderMan

makeCubeFaceEnvironment

public void makeCubeFaceEnvironment(java.lang.String px,
                                    java.lang.String nx,
                                    java.lang.String py,
                                    java.lang.String ny,
                                    java.lang.String pz,
                                    java.lang.String nz,
                                    java.lang.String reflfile,
                                    double fov,
                                    FilterFunction filter,
                                    double swidth,
                                    double twidth,
                                    java.util.Map params)
                             throws RMException
Specified by:
makeCubeFaceEnvironment in interface RenderMan

makeLatLongEnvironment

public void makeLatLongEnvironment(java.lang.String imagefile,
                                   java.lang.String reflfile,
                                   FilterFunction filter,
                                   double swidth,
                                   double twidth,
                                   java.util.Map params)
                            throws RMException
Specified by:
makeLatLongEnvironment in interface RenderMan

makeShadow

public void makeShadow(java.lang.String imagefile,
                       java.lang.String shadowfile,
                       java.util.Map params)
                throws RMException
Specified by:
makeShadow in interface RenderMan

makeTexture

public void makeTexture(java.lang.String imagefile,
                        java.lang.String texturefile,
                        java.lang.String swrap,
                        java.lang.String twrap,
                        FilterFunction filter,
                        double swidth,
                        double twidth,
                        java.util.Map params)
                 throws RMException
Specified by:
makeTexture in interface RenderMan

matte

public void matte(boolean onoff)
           throws RMException
Specified by:
matte in interface RenderMan

motionBegin

public void motionBegin(int n,
                        double[] time)
                 throws RMException
Specified by:
motionBegin in interface RenderMan

motionBegin

public void motionBegin(double t0,
                        double t1)
                 throws RMException
Specified by:
motionBegin in interface RenderMan

motionEnd

public void motionEnd()
               throws RMException
Specified by:
motionEnd in interface RenderMan

nuPatch

public void nuPatch(int nu,
                    int uorder,
                    double[] uknot,
                    double umin,
                    double umax,
                    int nv,
                    int vorder,
                    double[] vknot,
                    double vmin,
                    double vmax,
                    java.util.Map params)
             throws RMException
Specified by:
nuPatch in interface RenderMan

objectBegin

public ObjectHandle objectBegin()
                         throws RMException
Specified by:
objectBegin in interface RenderMan

objectEnd

public void objectEnd()
               throws RMException
Specified by:
objectEnd in interface RenderMan

objectInstance

public void objectInstance(ObjectHandle handle)
                    throws RMException
Specified by:
objectInstance in interface RenderMan

opacity

public void opacity(Color o)
             throws RMException
Specified by:
opacity in interface RenderMan

option

public void option(java.lang.String name,
                   java.util.Map params)
            throws RMException
Specified by:
option in interface RenderMan

orientation

public void orientation(java.lang.String orientation)
                 throws RMException
Specified by:
orientation in interface RenderMan

paraboloid

public void paraboloid(double rmax,
                       double zmin,
                       double zmax,
                       double thetamax,
                       java.util.Map params)
                throws RMException
Specified by:
paraboloid in interface RenderMan

patch

public void patch(java.lang.String type,
                  java.util.Map params)
           throws RMException
Specified by:
patch in interface RenderMan

patchMesh

public void patchMesh(java.lang.String type,
                      int nu,
                      java.lang.String uwrap,
                      int nv,
                      java.lang.String vwrap,
                      java.util.Map params)
               throws RMException
Specified by:
patchMesh in interface RenderMan

perspective

public void perspective(double fov)
                 throws RMException
Specified by:
perspective in interface RenderMan

pixelFilter

public void pixelFilter(FilterFunction filterfunc,
                        double xwidth,
                        double ywidth)
                 throws RMException
Specified by:
pixelFilter in interface RenderMan

pixelSamples

public void pixelSamples(double xsamples,
                         double ysamples)
                  throws RMException
Specified by:
pixelSamples in interface RenderMan

pixelVariance

public void pixelVariance(double variation)
                   throws RMException
Specified by:
pixelVariance in interface RenderMan

points

public void points(int npoints,
                   java.util.Map params)
            throws RMException
Specified by:
points in interface RenderMan

pointsGeneralPolygons

public void pointsGeneralPolygons(int npolys,
                                  int[] nloops,
                                  int[] nvertices,
                                  int[] vertices,
                                  java.util.Map params)
                           throws RMException
Specified by:
pointsGeneralPolygons in interface RenderMan

pointsPolygons

public void pointsPolygons(int npolys,
                           int[] nvertices,
                           int[] vertices,
                           java.util.Map params)
                    throws RMException
Specified by:
pointsPolygons in interface RenderMan

polygon

public void polygon(int nvertices,
                    java.util.Map params)
             throws RMException
Specified by:
polygon in interface RenderMan

procedural

public void procedural(java.lang.Object data,
                       Bound bound,
                       RefineFunction refineproc)
                throws RMException
Specified by:
procedural in interface RenderMan

projection

public void projection(java.lang.String name,
                       java.util.Map params)
                throws RMException
Specified by:
projection in interface RenderMan

quantize

public void quantize(java.lang.String type,
                     int one,
                     int min,
                     int max,
                     double ditheramplitude)
              throws RMException
Specified by:
quantize in interface RenderMan

readArchive

public void readArchive(java.lang.String filename,
                        java.util.Map params)
                 throws RMException
Specified by:
readArchive in interface RenderMan

relativeDetail

public void relativeDetail(double relativedetail)
                    throws RMException
Specified by:
relativeDetail in interface RenderMan

reverseOrientation

public void reverseOrientation()
                        throws RMException
Specified by:
reverseOrientation in interface RenderMan

rotate

public void rotate(double angle,
                   double dx,
                   double dy,
                   double dz)
            throws RMException
Specified by:
rotate in interface RenderMan

scale

public void scale(double sx,
                  double sy,
                  double sz)
           throws RMException
Specified by:
scale in interface RenderMan

screenWindow

public void screenWindow(double left,
                         double right,
                         double bottom,
                         double top)
                  throws RMException
Specified by:
screenWindow in interface RenderMan

shadingInterpolation

public void shadingInterpolation(java.lang.String type)
                          throws RMException
Specified by:
shadingInterpolation in interface RenderMan

shadingRate

public void shadingRate(double size)
                 throws RMException
Specified by:
shadingRate in interface RenderMan

shutter

public void shutter(double min,
                    double max)
             throws RMException
Specified by:
shutter in interface RenderMan

sides

public void sides(int nsides)
           throws RMException
Specified by:
sides in interface RenderMan

skew

public void skew(double angle,
                 double dx1,
                 double dy1,
                 double dz1,
                 double dx2,
                 double dy2,
                 double dz2)
          throws RMException
Specified by:
skew in interface RenderMan

solidBegin

public void solidBegin(java.lang.String type)
                throws RMException
Specified by:
solidBegin in interface RenderMan

solidEnd

public void solidEnd()
              throws RMException
Specified by:
solidEnd in interface RenderMan

sphere

public void sphere(double radius,
                   double zmin,
                   double zmax,
                   double thetamax,
                   java.util.Map params)
            throws RMException
Specified by:
sphere in interface RenderMan

subdivisionMesh

public void subdivisionMesh(java.lang.String scheme,
                            int nfaces,
                            int[] nvertices,
                            int[] vertices,
                            int ntags,
                            java.lang.String[] tags,
                            int[] nargs,
                            int[] intargs,
                            double[] floatargs,
                            java.util.Map params)
                     throws RMException
Specified by:
subdivisionMesh in interface RenderMan

surface

public void surface(java.lang.String name,
                    java.util.Map params)
             throws RMException
Specified by:
surface in interface RenderMan

textureCoordinates

public void textureCoordinates(double s1,
                               double t1,
                               double s2,
                               double t2,
                               double s3,
                               double t3,
                               double s4,
                               double t4)
                        throws RMException
Specified by:
textureCoordinates in interface RenderMan

torus

public void torus(double majorradius,
                  double minorradius,
                  double phimin,
                  double phimax,
                  double thetamax,
                  java.util.Map params)
           throws RMException
Specified by:
torus in interface RenderMan

transform

public void transform(Matrix m)
               throws RMException
Specified by:
transform in interface RenderMan

transformBegin

public void transformBegin()
                    throws RMException
Specified by:
transformBegin in interface RenderMan

transformEnd

public void transformEnd()
                  throws RMException
Specified by:
transformEnd in interface RenderMan

transformPoints

public Point[] transformPoints(java.lang.String fromspace,
                               java.lang.String tospace,
                               int npoints,
                               Point[] points)
                        throws RMException
Specified by:
transformPoints in interface RenderMan

translate

public void translate(double dx,
                      double dy,
                      double dz)
               throws RMException
Specified by:
translate in interface RenderMan

trimCurve

public void trimCurve(int nloops,
                      int[] ncurves,
                      int[] order,
                      double[] knot,
                      double[] min,
                      double[] max,
                      int[] n,
                      double[] u,
                      double[] v,
                      double[] w)
               throws RMException
Specified by:
trimCurve in interface RenderMan

worldBegin

public void worldBegin()
                throws RMException
Specified by:
worldBegin in interface RenderMan

worldEnd