3D Visualization (3DV)

Product Occurrence List – View Data

The list of Product Occurrence objects generated by the Query Processor result in an XML set that is like the following example:

Note the following about the XML View Data:

  • The format of the XML is specific to the HOOPS Viewer; the XML schema is defined by HOOPS. It is generated automatically from the generated Product Occurrence objects.
  • <ProductOccurence> (one r) XML Elements define both Instance and File source information. This is consistent with the two types of Product Occurrence objects defined above when generating the Product Occurrence list.
  • The data is flat, in that the hierarchy is defined by the Children attribute.
  • All IDs are generated automatically and must be >=0. Each ID uniquely identifies the Product Occurrence.
  • Attribute Elements are used for mapping instances of the 3D geometry to the nodes in the Tree Grid View. Note the Query Item Reference and ID are set as defined in section Creating a list of Product Occurrences.
  • Component Instances reference their geometry using the InstanceRef attribute.
  • The system will ensure that there are no duplicate File Source Instances. Thus, reused geometry will ‘point to’ the same Product Occurrence for the File Source.