Open CASCADE Technology
7.2.0
|
defines "instancing" - using the same instance of a node multiple times. It is accomplished by using the "DEF" and "USE" keywords. The DEF keyword both defines a named node, and creates a single instance of it. The USE keyword indicates that the most recently defined instance should be used again. If several nades were given the same name, then the last DEF encountered during parsing "wins". DEF/USE is limited to a single file. More...
#include <Vrml_Instancing.hxx>
Public Member Functions | |
Vrml_Instancing (const TCollection_AsciiString &aString) | |
Adds "DEF <myName>" in anOStream (VRML file). More... | |
Standard_OStream & | DEF (Standard_OStream &anOStream) const |
Adds "USE <myName>" in anOStream (VRML file). More... | |
Standard_OStream & | USE (Standard_OStream &anOStream) const |
defines "instancing" - using the same instance of a node multiple times. It is accomplished by using the "DEF" and "USE" keywords. The DEF keyword both defines a named node, and creates a single instance of it. The USE keyword indicates that the most recently defined instance should be used again. If several nades were given the same name, then the last DEF encountered during parsing "wins". DEF/USE is limited to a single file.
Vrml_Instancing::Vrml_Instancing | ( | const TCollection_AsciiString & | aString | ) |
Adds "DEF <myName>" in anOStream (VRML file).
Standard_OStream& Vrml_Instancing::DEF | ( | Standard_OStream & | anOStream | ) | const |
Adds "USE <myName>" in anOStream (VRML file).
Standard_OStream& Vrml_Instancing::USE | ( | Standard_OStream & | anOStream | ) | const |