pfvmLoaderModel man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



pfvmLoaderModel(3pf)	     OpenGL Performer 3.2.2 libpfv C++ Reference Pages

NAME
     pfvmLoaderModel - LoaderModel class for pfvViewer

FUNCTION SPECIFICATION
     #include <Performer/pfvm/pfvmLoader.h>

	       pfvmLoaderModel::pfvmLoaderModel();

     char*     pfvmLoaderModel::getFilePath();

     void      pfvmLoaderModel::setFilePath(char*path);

     char*     pfvmLoaderModel::getFileName();

     void      pfvmLoaderModel::setFileName(char*fName);

     int       pfvmLoaderModel::getAddToScene();

     void      pfvmLoaderModel::setAddToScene(int s);

     void      pfvmLoaderModel::setTrans(pfVec3& xyz);

     void      pfvmLoaderModel::setRot(pfVec3& hpr);

     void      pfvmLoaderModel::setScale(pfVec3& scaleXYZ);

     void      pfvmLoaderModel::setScale(float s);

     void      pfvmLoaderModel::getTrans(pfVec3& xyz);

     void      pfvmLoaderModel::getRot(pfVec3& hpr);

     void      pfvmLoaderModel::getScale(pfVec3& scaleXYZ);

     pfDCS*    pfvmLoaderModel::getDCS();

     pfNode*   pfvmLoaderModel::getRootNode();

DESCRIPTION
     pfvmLoaderModel is a part of the pfvmLoader module.  This class takes
     care of the actual loading of the models.

     setFilePath() sets the filepath in which to look when loading a specific
     model. The path set here is searched first, before searching the global
     path set through the pfvmLoader::setFilePath method.

     getFilePath() returns the filepath.

     setFileName() specifies the name of the file to be loaded.

     getFileName() returns the filename specified with setFileName().

									Page 1

pfvmLoaderModel(3pf)	     OpenGL Performer 3.2.2 libpfv C++ Reference Pages

     setAddToScene() specifies whether to add the loaded model to the scene or
     not.

     getAddToScene() returns whether the model will be added to the scene.

     setTrans() sets the translation on the pfDCS the model will be under

     getTrans() returns the translation.

     setRot() sets the rotation on the pfDCS the model will be under.

     getRot() returns the rotation.

     setScale() sets the scale factor on the pfDCS the model will be under.
     The scale can be specified for each axis or one scale to be applied to
     all axes.

     getScale() returns the scale factor.

     getDCS() returns the pfDCS associated with this model.

     getRootNode() returns the root pfNode associated with this model.

	  ========
	  XML tags
	  ========

	      <module>
		  <class>pfvmLoader</class>
		  <data>
		      ...
		      <Model>
			  ...
			  parameters
			  ...
		      </Model>
		      ...
		  </data>
	      </module>

     where parameters is one or more of the following:

     <Name>string</Name> sets string to be the name assigned to this
     pfvmLoaderModel instance.

									Page 2

pfvmLoaderModel(3pf)	     OpenGL Performer 3.2.2 libpfv C++ Reference Pages

     <FileName>string</FileName> specifies the filename to load.

     <FilePath>string</FilePath> specifies the file search path.

     <Trans>float,float,float</Trans> specifies the translation to be applied
     after the model is loaded.

     <Rot>float,float,float</Rot> specifies the rotation to be applied after
     the model is loaded.

     <Scale>float,float,float</Scale> specifies the scale to be applied in the
     x, y, and z axes respectively.

     <Scale>float</Scale> specifies the scale to be applied to all axes.

	  Example:
	      <module>
	       <name>loader</name>
	       <class>pfvmLoader</class>
	       <data>
		   <FilePath>/usr/share/Performer/data</FilePath>
		   <Model>
		    <Name>ESPRIT_1</Name>
		    <FileName>esprit.pfb</FileName>
		    <Rot>-90,0,0</Rot>
		    <Trans>-2,0,0</Trans>
			  <!-- note: non-uniform scaling set below -->
			  <Scale>1.0,1.0,2.0</Scale>
		   </Model>
	       </data>
	      </module>

NOTES
     For examples of pfvViewer XML configuration files, look at the sample
     .pfv files in /usr/share/Performer/config.

SEE ALSO
     pfvmLoader, pfvModule, pfvViewer, pfvXml

									Page 3

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net