RIB Class Reference

The RIB class proposes utility functions to export 3d geometry from input port to RIB structures. An instance of this class is directly accessible through the scripting environment. More...

Public Slots

void appendGeometryToRIB (InputPort port, String ribFileName, bool forwardSlash)
 Adds the geometry information to a RIB file. More...
 
String textureFileNamePrefix (InputPort port)
 Returns the prefix to files names for textures generated by conversion to RIB files. More...
 
int numberOfTextures (InputPort port)
 Returns the number of texture files generated by conversion to RIB files. More...
 

Detailed Description

The RIB class proposes utility functions to export 3d geometry from input port to RIB structures. An instance of this class is directly accessible through the scripting environment.

Member Function Documentation

◆ appendGeometryToRIB

void RIB::appendGeometryToRIB ( InputPort  port,
String  ribFileName,
bool  forwardSlash 
)
slot

Adds the geometry information to a RIB file.

Parameters
portInput port containing 3d geometry
ribFileNameName of the file in which to dump the rib
forwardSlashEnable/Disable forward slash separators

◆ numberOfTextures

int RIB::numberOfTextures ( InputPort  port)
slot

Returns the number of texture files generated by conversion to RIB files.

Parameters
portInput port containing 3d geometry
Returns
number of textures

◆ textureFileNamePrefix

String RIB::textureFileNamePrefix ( InputPort  port)
slot

Returns the prefix to files names for textures generated by conversion to RIB files.

Parameters
portInput port containing 3d geometry
Returns
String