Tuesday, March 21, 2006

[PRMAN]RIBContext method整理


void GetRenderingPass(RenderingPass *p, RtBoolean *declarePhase) = 0;
RtBoolean GetMotionBlur() = 0;
int GetFrame() = 0;
void GetShutter(RtFloat *open, RtFloat *close) = 0;
const char * GetJobName() = 0;
const char * GetObjName() = 0;
void GetCamBasis( RtMatrix m, int inverse = 0 ) = 0;
void ReportError( RenderingError e, const char *fmt, ... ) = 0;
void GetMotionInfo( RtFloat *shutterAngle, RtFloat *fps,
RtBoolean *subframeMotion, RtBoolean *blurCamera=0L,
ShutterTiming *shutterTiming=0L,ShutterConfig *shutterConfig=0L) = 0;
const RIBContextResult *
ExecuteHostCmd( const char *cmd, std::string &errstr ) = 0;
const RIBContextResult *
ExecuteHostCmd( const char *cmd, char** errstr ) = 0;
RtBasis * GetBasis( BasisFunction ) = 0;
void SetDefaultFilterFunction( FilterFunction ) = 0;
RtFilterFunc GetFilterFunction( FilterFunction ) = 0;
RtFilterFunc GetFilterFunction( const char *nm ) = 0;
RtProcSubdivFunc GetProcSubdivFunc( ProceduralSubdivFunction ) = 0;
RtProcFreeFunc GetProcFreeFunc() = 0;
const char *GetOutputDir(OutDirCategory) = 0;

RtVoid Begin( RtToken name ) = 0;
RtVoid End() = 0;
RtContextHandle GetContext() = 0;
RtVoid Context( RtContextHandle ) = 0;

RtVoid RIBBox(const RtString) = 0;
RtToken Declare(char *, char *) = 0;
RtVoid AttributeBegin() = 0;
RtVoid AttributeEnd() = 0;
RtVoid Color(RtColor) = 0;
RtVoid Opacity(RtColor) = 0;
RtVoid TextureCoordinates(RtFloat s1, RtFloat t1, RtFloat s2,
RtFloat t2, RtFloat s3, RtFloat t3,
RtFloat s4, RtFloat t4) = 0;
RtLightHandle LightSource(RtToken name, ...) = 0;
RtLightHandle LightSourceV(RtToken name, RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtLightHandle AreaLightSource(RtToken name, ...) = 0;
RtLightHandle AreaLightSourceV(RtToken name, RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Illuminate(RtLightHandle light, RtBoolean onoff) = 0;
RtVoid Surface(RtToken name, ...) = 0;
RtVoid SurfaceV(RtToken name, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Atmosphere(RtToken name, ...) = 0;
RtVoid AtmosphereV(RtToken name, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Interior(RtToken name, ...) = 0;
RtVoid InteriorV(RtToken name, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Exterior(RtToken name, ...) = 0;
RtVoid ExteriorV(RtToken name, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid ShadingRate(RtFloat) = 0;
RtVoid ShadingInterpolation(RtToken type) = 0;
RtVoid Matte(RtBoolean onoff) = 0;
RtVoid Bound(RtBound bound) = 0;
RtVoid Detail(RtBound bound) = 0;
RtVoid DetailRange(RtFloat minvis, RtFloat lowtran, RtFloat uptran, RtFloat maxvis) = 0;
RtVoid RelativeDetail(RtFloat) = 0;
RtVoid GeometricApproximation(RtToken type, RtFloat value) = 0;
RtVoid Orientation(RtToken orientation) = 0;
RtVoid ReverseOrientation(void) = 0;
RtVoid Sides(RtInt sides) = 0;
RtVoid Identity(void) = 0;
RtVoid Transform(RtMatrix transform) = 0;
RtVoid ConcatTransform(RtMatrix transform) = 0;
RtVoid Perspective(RtFloat fov) = 0;
RtVoid Translate(RtFloat dx, RtFloat dy, RtFloat dz) = 0;
RtVoid Rotate(RtFloat angle, RtFloat dx, RtFloat dy, RtFloat dz) = 0;
RtVoid Scale(RtFloat sx, RtFloat sy, RtFloat sz) = 0;
RtVoid Skew(RtFloat angle, RtFloat dx1, RtFloat dy1, RtFloat dz1,
RtFloat dx2, RtFloat dy2, RtFloat dz2) = 0;
RtVoid Displacement(RtToken name, ...) = 0;
RtVoid DisplacementV(RtToken name, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid CoordinateSystem(RtToken space) = 0;
RtVoid ScopedCoordinateSystem(RtToken space) = 0;
RtVoid CoordSysTransform(RtToken space) = 0;
RtVoid TransformBegin(void) = 0;
RtVoid TransformEnd(void) = 0;
RtVoid Attribute(RtToken name, ...) = 0;
RtVoid AttributeV(RtToken name, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Polygon(RtInt nverts, ...) = 0;
RtVoid PolygonV(RtInt nverts, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid GeneralPolygon(RtInt nloops, RtInt nverts[], ...) = 0;
RtVoid GeneralPolygonV(RtInt nloops, RtInt nverts[], RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid PointsPolygons(RtInt npolys, RtInt nverts[], RtInt verts[], ...) = 0;
RtVoid PointsPolygonsV(RtInt npolys,RtInt nverts[], RtInt verts[], RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid PointsGeneralPolygons(RtInt npolys, RtInt nloops[],
RtInt nverts[], RtInt verts[], ...) = 0;
RtVoid PointsGeneralPolygonsV(RtInt npolys, RtInt nloops[], RtInt nverts[],
RtInt verts[], RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Basis(RtBasis ubasis, RtInt ustep, RtBasis vbasis, RtInt vstep) = 0;
RtVoid Patch(RtToken type, ...) = 0;
RtVoid PatchV(RtToken type, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid PatchMesh(RtToken type, RtInt nu, RtToken uwrap, RtInt nv, RtToken vwrap, ...) = 0;
RtVoid PatchMeshV(RtToken type, RtInt nu, RtToken uwrap, RtInt nv, RtToken vwrap,
RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid NuPatch(RtInt nu, RtInt uorder, RtFloat uknot[], RtFloat umin, RtFloat umax,
RtInt nv, RtInt vorder, RtFloat vknot[], RtFloat vmin, RtFloat vmax, ...) = 0;
RtVoid NuPatchV(RtInt nu, RtInt uorder, RtFloat uknot[], RtFloat umin, RtFloat umax,
RtInt nv, RtInt vorder, RtFloat vknot[],RtFloat vmin, RtFloat vmax, RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid TrimCurve(RtInt nloops, RtInt ncurves[], RtInt order[], RtFloat knot[],
RtFloat min[], RtFloat max[], RtInt n[], RtFloat u[], RtFloat v[], RtFloat w[]) = 0;
RtVoid Sphere(RtFloat radius, RtFloat zmin, RtFloat zmax, RtFloat tmax, ...) = 0;
RtVoid SphereV(RtFloat radius, RtFloat zmin, RtFloat zmax, RtFloat tmax, RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Cone(RtFloat height, RtFloat radius, RtFloat tmax, ...) = 0;
RtVoid ConeV(RtFloat height, RtFloat radius,RtFloat tmax, RtInt n, RtToken tokens[],
RtPointer parms[]) = 0;
RtVoid Cylinder(RtFloat radius, RtFloat zmin, RtFloat zmax, RtFloat tmax, ...) = 0;
RtVoid CylinderV(RtFloat radius, RtFloat zmin, RtFloat zmax, RtFloat tmax, RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Hyperboloid(RtPoint point1, RtPoint point2, RtFloat tmax, ...) = 0;
RtVoid HyperboloidV(RtPoint point1, RtPoint point2, RtFloat tmax, RtInt n, RtToken
tokens[], RtPointer parms[]) = 0;
RtVoid Paraboloid(RtFloat rmax, RtFloat zmin, RtFloat zmax, RtFloat tmax, ...) = 0;
RtVoid ParaboloidV(RtFloat rmax, RtFloat zmin, RtFloat zmax, RtFloat tmax, RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Disk(RtFloat height, RtFloat radius, RtFloat tmax, ...) = 0;
RtVoid DiskV(RtFloat height, RtFloat radius, RtFloat tmax, RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Torus(RtFloat majrad, RtFloat minrad, RtFloat phimin, RtFloat phimax,
RtFloat tmax, ...) = 0;
RtVoid TorusV(RtFloat majrad, RtFloat minrad, RtFloat phimin, RtFloat phimax,
RtFloat tmax, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Geometry(RtToken type, ...) = 0;
RtVoid GeometryV(RtToken type, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid SolidBegin(RtToken operation) = 0;
RtVoid SolidEnd(void) = 0;
RtVoid MotionBegin(RtInt n, ...) = 0;
RtVoid MotionBeginV(RtInt n, RtFloat times[]) = 0;
RtVoid MotionEnd(void) = 0;
RtVoid ArchiveRecord(RtToken type, char *format, ...) = 0;
RtVoid ReadArchive(RtToken name, RtVoid (*callback)(RtToken,char*,...), ...) = 0;
RtVoid ReadArchiveV(RtToken name, RtVoid (*callback)(RtToken,char*,...), RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Procedural(RtPointer data, RtBound bound,
RtVoid (*subdivfunc)(RtPointer, RtFloat), RtVoid (*freefunc)(RtPointer)) = 0;
RtVoid Curves(RtToken type, RtInt ncurves, RtInt nvertices[], RtToken wrap, ...) = 0;
RtVoid CurvesV(RtToken type, RtInt ncurves, RtInt nvertices[], RtToken wrap,
RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid Points(RtInt nverts,...) = 0;
RtVoid PointsV(RtInt nverts, RtInt nargs, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid SubdivisionMesh(RtToken scheme, RtInt nf, RtInt nverts[], RtInt verts[],
RtInt nt, RtToken tags[], RtInt numargs[], RtInt intargs[], RtFloat floatargs[], ...) = 0;
RtVoid SubdivisionMeshV(RtToken scheme, RtInt nf, RtInt nverts[], RtInt verts[], RtInt nt,
RtToken tags[], RtInt numargs[], RtInt intargs[], RtFloat floatargs[], RtInt n,
RtToken tokens[], RtPointer parms[]) = 0;
RtVoid HierarchicalSubdivisionMesh(RtToken scheme, RtInt nf, RtInt nverts[],
RtInt verts[], RtInt ntags, RtToken tags[], RtInt numargs[], RtInt intargs[],
RtFloat floatargs[], RtToken stringargs[], ...) = 0;
RtVoid HierarchicalSubdivisionMeshV(RtToken scheme, RtInt nf, RtInt nverts[],
RtInt verts[], RtInt nt, RtToken tags[], RtInt numargs[], RtInt intargs[],
RtFloat floatargs[], RtToken stringargs[], RtInt n, RtToken tokens[],
RtPointer parms[]) = 0;
RtVoid Blobby(RtInt, RtInt, RtInt [], RtInt, RtFloat [], RtInt, RtToken [], ...) = 0;
RtVoid BlobbyV(RtInt, RtInt, RtInt [], RtInt, RtFloat [], RtInt, RtToken [],
RtInt, RtToken [], RtPointer []) = 0;
RtVoid ClippingPlane( RtFloat x, RtFloat y, RtFloat z, RtFloat nx, RtFloat ny, RtFloat nz) = 0;
RtVoid Resource(RtToken handle, RtToken type, ...) = 0;
RtVoid ResourceV(RtToken handle, RtToken type, RtInt n, RtToken tokens[], RtPointer parms[]) = 0;
RtVoid ResourceBegin() = 0;
RtVoid ResourceEnd() = 0;
RtVoid System(char *) = 0;
RtVoid IfBegin(char *) = 0;
RtVoid Else() = 0;
RtVoid ElseIf(char *) = 0;
RtVoid IfEnd() = 0;

No comments: