Squeak Class Documentation category index | class index  
 
VRMLNodeParser
  category: Balloon3D-VRML Definition
  superclass: Object
  subclasses:

A VRMLNodeParser creates a generic tree of VRMLNodes from a VRML file. These nodes are not intended to be used directly in a 3D system; they should be used to create a retained mode description for the 3D rendering system.

Instance variables:
nodeTypes <Collection of: VRMLNodeSpec> The specs used for construction the VRML nodes
scene <VRMLScene> The scene which will be defined by the parser
protoList <Collection of: VRMLNodeSpec> Prototypes currently under construction
infoBar <BlockContext> Progress indicator

Class variables:
VRMLFieldTypes <Dictionary> Basic VRML field types
VRMLRuntimeFieldTypes <Dictionary> The field types in a valid VRML file
VRMLScriptFieldTypes <Dictionary> The field types for node definitions
VRMLStatements <Dictionary> The valid statements in a VRML file

instance methods
  definition parsing
  parseAttribute:from:
parseDefinition:
parseDefinitions:
parseExternAttribute:
parseScriptEvent:
parseScriptField:

  initialize
  initialize

  multi field parsing
  readMultiFieldColorFrom:
readMultiFieldFloatFrom:
readMultiFieldInt32From:
readMultiFieldNodeFrom:
readMultiFieldRotationFrom:
readMultiFieldStringFrom:
readMultiFieldTimeFrom:
readMultiFieldVec2fFrom:
readMultiFieldVec3fFrom:

  parsing
  parseField:

  private
  dispatchOn:in:with:ifNone:
nodeSpecs
progressUpdate:
skipParens:from:
vrmlClassNameFor:

  proto-parsing
  parseExternProtoSpec:
parseProtoSpec:

  scene parsing
  defineNode:
parseDEF:
parseEXTERNPROTO:
parseIS:with:
parsePROTO:
parseROUTE:
parseScene:
parseScene:url:
parseStatement:
parseStatement:from:
parseUSE:
readAttribute:from:

  script parsing
  parseScript:
readScriptEvent:
readScriptField:

  single field parsing
  readSingleFieldBoolFrom:
readSingleFieldColorFrom:
readSingleFieldFloatFrom:
readSingleFieldImageFrom:
readSingleFieldInt32From:
readSingleFieldNodeFrom:
readSingleFieldRotationFrom:
readSingleFieldStringFrom:
readSingleFieldTimeFrom:
readSingleFieldVec2fFrom:
readSingleFieldVec3fFrom:

  testing
  isPrototyping
isStatement:
needsDef

class methods
  class initialization
  initFields
initRuntimeFields
initScriptFields
initStatements
initialize

  documentation
  vrml97NodeDefinition
vrml97Nodes

  examples
  exD10

  instance creation
  new
parse:
parse:url:
parseFileNamed:
parseString:
parseURLs:

  private
  buildClasses
compileCompositeNode:
compileInterpolatorNode:
compileLightNode:
compileMultiFieldMethod:single:type:
compileNode:superClass:category:
compileSensorNode:
compileSimpleNode:
compileSingleFieldMethod:type:
vrmlClassNameFor:

instance methods
  definition parsing top  
 

parseAttribute:from:


 

parseDefinition:


 

parseDefinitions:


 

parseExternAttribute:


 

parseScriptEvent:

Dummy


 

parseScriptField:

Dummy


  initialize top  
 

initialize


  multi field parsing top  
 

readMultiFieldColorFrom:

This method was automatically generated


 

readMultiFieldFloatFrom:

This method was automatically generated


 

readMultiFieldInt32From:

This method was automatically generated


 

readMultiFieldNodeFrom:

This method was automatically generated


 

readMultiFieldRotationFrom:

This method was automatically generated


 

readMultiFieldStringFrom:

This method was automatically generated


 

readMultiFieldTimeFrom:

This method was automatically generated


 

readMultiFieldVec2fFrom:

This method was automatically generated


 

readMultiFieldVec3fFrom:

This method was automatically generated


  parsing top  
 

parseField:


  private top  
 

dispatchOn:in:with:ifNone:


 

nodeSpecs


 

progressUpdate:


 

skipParens:from:


 

vrmlClassNameFor:


  proto-parsing top  
 

parseExternProtoSpec:


 

parseProtoSpec:


  scene parsing top  
 

defineNode:

Define aNode if necessary


 

parseDEF:


 

parseEXTERNPROTO:


 

parseIS:with:


 

parsePROTO:


 

parseROUTE:


 

parseScene:


 

parseScene:url:


 

parseStatement:


 

parseStatement:from:


 

parseUSE:


 

readAttribute:from:


  script parsing top  
 

parseScript:


 

readScriptEvent:


 

readScriptField:


  single field parsing top  
 

readSingleFieldBoolFrom:

This method was automatically generated


 

readSingleFieldColorFrom:

This method was automatically generated


 

readSingleFieldFloatFrom:

This method was automatically generated


 

readSingleFieldImageFrom:

This method was automatically generated


 

readSingleFieldInt32From:

This method was automatically generated


 

readSingleFieldNodeFrom:

This method was automatically generated


 

readSingleFieldRotationFrom:

This method was automatically generated


 

readSingleFieldStringFrom:

This method was automatically generated


 

readSingleFieldTimeFrom:

This method was automatically generated


 

readSingleFieldVec2fFrom:

This method was automatically generated


 

readSingleFieldVec3fFrom:

This method was automatically generated


  testing top  
 

isPrototyping


 

isStatement:


 

needsDef


class methods
  class initialization top  
 

initFields

VRMLNodeParser initialize


 

initRuntimeFields

VRMLNodeParser initialize


 

initScriptFields

VRMLNodeParser initialize


 

initStatements

VRMLNodeParser initialize


 

initialize

VRMLNodeParser initialize


  documentation top  
 

vrml97NodeDefinition

Node definitions from the VRML97 spec


 

vrml97Nodes

VRMLNodeParser vrml97Nodes


  examples top  
 

exD10

VRMLNodeParser parseString: VRMLNodeParser exD10


  instance creation top  
 

new

Answer a new instance of the receiver (which is a class) with no indexable variables. Fail if the class is indexable.


 

parse:


 

parse:url:


 

parseFileNamed:

VRMLNodeParser parseFileNamed:'C:\WDI-Website\Link 3D Models\08-17-99\vrml\test.wrl'


 

parseString:


 

parseURLs:

Parse a collection of URLs return the result of first success


  private top  
 

buildClasses

VRMLNodeParser buildClasses


 

compileCompositeNode:


 

compileInterpolatorNode:


 

compileLightNode:


 

compileMultiFieldMethod:single:type:


 

compileNode:superClass:category:


 

compileSensorNode:


 

compileSimpleNode:


 

compileSingleFieldMethod:type:


 

vrmlClassNameFor: