In file include/csparser/crossbld.h:

class csCrossBuild_ThingTemplateFactory : public csCrossBuild_Factory

The thing template factory makes a whole thing template by extracting the first frame from a converter and stuffing it into a csThingTemplate object

Inheritance:


Public Methods

csBase* CrossBuild(converter& buildsource)
Makes a thing template out of the first frame stored in the converter object
void CrossBuild(csBase* base, converter& buildsource)
Makes a thing template out of the first frame stored in the converter object
csCrossBuild_ThingTemplateFactory()
Constructor. There are currently no options
~csCrossBuild_ThingTemplateFactory()
Destructor

Private Methods

void Add_Vertices(csThingTemplate& framesource, converter& buildsource)
Add all vertices to the thing template
void Build_TriangleMesh(csThingTemplate& meshsource, converter& buildsource)
Make triangle mesh by extracting data from the converter data

Inherited from csCrossBuild_Factory:


Documentation

The thing template factory makes a whole thing template by extracting the first frame from a converter and stuffing it into a csThingTemplate object. Note that the converted thing will be using gouraud shading.
csCrossBuild_ThingTemplateFactory()
Constructor. There are currently no options

~csCrossBuild_ThingTemplateFactory()
Destructor. Does not delete the Thing templates it has made, since they may be in use. Delete them yourself when you are done with them.

csBase* CrossBuild(converter& buildsource)
Makes a thing template out of the first frame stored in the converter object

void CrossBuild(csBase* base, converter& buildsource)
Makes a thing template out of the first frame stored in the converter object

void Add_Vertices(csThingTemplate& framesource, converter& buildsource)
Add all vertices to the thing template

void Build_TriangleMesh(csThingTemplate& meshsource, converter& buildsource)
Make triangle mesh by extracting data from the converter data


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de