| Home >> All >> org >> pqt >> autorib >> [ rib Javadoc ] |
org.pqt.autorib.rib: Javadoc index of package org.pqt.autorib.rib.
Package Samples:
org.pqt.autorib.rib
Classes:
RIBStateRec: This class is the parent of classes to implement the reading and storage of RIB Options and Attributes. It distinguishes two sorts of options or attributes, normal and special, the latter being attributes or options that are not unique per object or file (e.g. multiple instances of 'Option' RIB requests), and the former being attributes where a new instance of the attribute supercedes the last (Color for example). It differentiates between different types of 'special' content, a feature that is used in the RIBAttributeRec subclass to separate Declare statements from the rest, so that they can be ...
RIBGlobals: This class contains various globally needed definitions used to parse RIB in particular various arrays define valid requests, and identify which of these are options, attributes transforms and objects. To ensure AutoRIB recognises a new RIB request you must add it to the requests array. You must also define an integer constant corresponding to its position in the array. You should also include it in the arrays options, attributes, objects depending on which category the request is. Doing this will ensure that the request is recognised. For more sophisticated handling you will need to create a subclass ...
RIBDefaultPrimitive: this handles all the primitives that do not have their own separate class, it handles everything correctly for primitives that obey the following rules: they are defined by "P" or "Pw" control points, their parameters may start with a string (such as subdivision mesh) but must contain no other strings as part of the main arguments (though arrays of strings are allowed and, of course, the general parameters contain strings as parameter names).
RIBAttributeRec: Stores various attribute information for an object (color, shaders etc) it uses two types of special content = one for Declares and one for implementation dependent Attributes. Declare statements are, of course, not strictly attributes, but are treated as such in AutoRIB. Note also that Attribute "identifier" "name" is treated in a special way - it is stored in the name variable and must be written out separately.
RIBOptionRec: stores options read from an RIB file, and is also used to store Objects defined in the RIB file. Options are things like Display, Format etc. as well as the standard 'Option' call. They are divided into two types those where a second instance supercedes the former (Format, for example) and those where two different instances can be valid at the same time (which is true for Options for example)
RIBObjectBegin: A class to handle object definitions although called ObjectBegin, it infact hanles the entire object definition. The content of the object definition being read in in the RIBWreader and added to the objectContent field. --unfinished capability--
RIBParams: A class to store parameters for a shader or other object. Parameters are in the form of a string name followed by a value e.g "Ks" .4, or "shadow" "myfile". Each name in the parameter list is unique.
RIBStandard: this class handles all RIBRequests that are not specifically handled elsewhere - it just blindly reads in the RIB and prints it out again when asked
RIBPrimitive: this is the superclass of all primitive handling classes known subclasses @link RIBPointsPolygons, @link RIBParametric, @link RIBDefaultPrimitive
RIBDeclare: Class to hold RIB Declare requests - we need this because other bits of AutoRIB need to generate RIB Declare requests
RIBPatchMesh: Handles Patch Mesh primitives. We need a separate class because the RIBDefaultPrimitive class cannot read in these.
RIBReadRequest: This class contains utilities for reading a single RIB request (and associated parameters) from a tokeniser stream
RIBCurves: Handles Curves primitives. We need a separate class because the RIBDefaultPrimitive class cannot read in these.
RIBParametric: Implements the Renderman parametric surfaces Sphere, Cylinder, Cone, Parabaloid, Hyperboloid, Disk and Torus
RIBTransform: This class handles all RIB Transform calls including saving and loading coordinate systems
RIBPointsPolygonsSubdiv: Class for storing RIB PointsPolygons requests, and subdivision surfaces
RIBSubdivisionSurf: Class for storing RIB PointsPolygons requests, and subdivision surfaces
RIBObjectGroup: contains one or more primitives and their associated attributes
RIBCombinedPoly: This utility class allows you to add various polygons together
RIBBrace: A dummy RIB class to hold an opening or closing brace
RIBGeneralPointsPoly: Class for storing RIB PointsGeneralPolygons requests,
RIBWReader: provides routines for reading and writing RIB files
RIBGeneralPolygon: Class for storing RIB GeneralPolygon primitives
RIBProjection: Class for storing RIB Projection requests
RIBLight: Class for storing RIB lightsource calls
| Home | Contact Us | Privacy Policy | Terms of Service |