Changeset 8596

Show
Ignore:
Timestamp:
07/15/08 21:28:30
Author:
robert
Message:

Changed IMPORT to "Import option", and "EXPORT:" to "Export option:" in supportsOptions() docs make it a little more friendly and understandable

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp

    r8595 r8596  
    124124            supportsExtension("flt","OpenFlight format"); 
    125125             
    126             supportsOption("clampToEdge","IMPORT"); 
    127             supportsOption("keepExternalReferences","IMPORT"); 
    128             supportsOption("preserveFace","IMPORT"); 
    129             supportsOption("preserveObject","IMPORT"); 
    130             supportsOption("dofAnimation","IMPORT"); 
    131             supportsOption("billboardCenter","IMPORT"); 
    132             supportsOption("noTextureAlphaForTransparancyBinning","IMPORT"); 
    133             supportsOption("readObjectRecordData","IMPORT"); 
    134             supportsOption("noUnitsConversion","IMPORT"); 
    135             supportsOption("convertToFeet","IMPORT"); 
    136             supportsOption("convertToInches","IMPORT"); 
    137             supportsOption("convertToMeters","IMPORT"); 
    138             supportsOption("convertToKilometers","IMPORT"); 
    139             supportsOption("convertToNauticalMiles","IMPORT"); 
    140  
    141             supportsOption( "version=<ver>", "EXPORT: Specifies the version of the output OpenFlight file. Supported values include 15.7, 15.8, and 16.1. Default is 16.1. Example: \"version=15.8\"." ); 
    142             supportsOption( "units=<units>", "EXPORT: Specifies the contents of the Units field of the OpenFliht header record. Valid values include INCHES, FEET, METERS, KILOMETERS, and NATICAL_MILES. Default is METERS. Example: \"units=METERS\"." ); 
    143             supportsOption( "validate", "EXPORT: If present in the Options string, the plugin does not write an OpenFlight file. Instead, it returns an indication of the scene graph's suitability for OpenFlight export." ); 
    144             supportsOption( "tempDir=<dir>", "EXPORT: Specifies the directory to use for creation of temporary files. If not specified, the directory is taken from the file name. If the file doesn't contain a path, the current working directory is used. Applications should set this to the name of their app-specific temp directory. If the path contains spaces, use double quotes to ensure correct parsing. Examples: \"tempDir=/tmp\", \"tempDir=\"C:\\My Temp Dir\"." ); 
    145             supportsOption( "lighting=<ON|OFF>", "EXPORT: Specifies a default enable/disable state for lighting, for Nodes in the exported scene graph that don't set it explicitly. By default, the exporter assumes lighting is enabled (GL_LIGHTING ON). Set this to either ON or OFF. Example: \"lighting=OFF\"." ); 
    146             supportsOption( "stripTextureFilePath", "EXPORT: If present in the Options string, the exporter strips the path from texture file names, and writes only the texture file name to the FLT Texture Palette. By default, the exporter doesn't strip the path, and the name written to the Texture Palette is taken directly from the osg::Image object referenced by the osg::Texture2D StateAttribute." ); 
     126            supportsOption("clampToEdge","Import option"); 
     127            supportsOption("keepExternalReferences","Import option"); 
     128            supportsOption("preserveFace","Import option"); 
     129            supportsOption("preserveObject","Import option"); 
     130            supportsOption("dofAnimation","Import option"); 
     131            supportsOption("billboardCenter","Import option"); 
     132            supportsOption("noTextureAlphaForTransparancyBinning","Import option"); 
     133            supportsOption("readObjectRecordData","Import option"); 
     134            supportsOption("noUnitsConversion","Import option"); 
     135            supportsOption("convertToFeet","Import option"); 
     136            supportsOption("convertToInches","Import option"); 
     137            supportsOption("convertToMeters","Import option"); 
     138            supportsOption("convertToKilometers","Import option"); 
     139            supportsOption("convertToNauticalMiles","Import option"); 
     140 
     141            supportsOption( "version=<ver>", "Export option: Specifies the version of the output OpenFlight file. Supported values include 15.7, 15.8, and 16.1. Default is 16.1. Example: \"version=15.8\"." ); 
     142            supportsOption( "units=<units>", "Export option: Specifies the contents of the Units field of the OpenFliht header record. Valid values include INCHES, FEET, METERS, KILOMETERS, and NATICAL_MILES. Default is METERS. Example: \"units=METERS\"." ); 
     143            supportsOption( "validate", "Export option: If present in the Options string, the plugin does not write an OpenFlight file. Instead, it returns an indication of the scene graph's suitability for OpenFlight export." ); 
     144            supportsOption( "tempDir=<dir>", "Export option: Specifies the directory to use for creation of temporary files. If not specified, the directory is taken from the file name. If the file doesn't contain a path, the current working directory is used. Applications should set this to the name of their app-specific temp directory. If the path contains spaces, use double quotes to ensure correct parsing. Examples: \"tempDir=/tmp\", \"tempDir=\"C:\\My Temp Dir\"." ); 
     145            supportsOption( "lighting=<ON|OFF>", "Export option: Specifies a default enable/disable state for lighting, for Nodes in the exported scene graph that don't set it explicitly. By default, the exporter assumes lighting is enabled (GL_LIGHTING ON). Set this to either ON or OFF. Example: \"lighting=OFF\"." ); 
     146            supportsOption( "stripTextureFilePath", "Export option: If present in the Options string, the exporter strips the path from texture file names, and writes only the texture file name to the FLT Texture Palette. By default, the exporter doesn't strip the path, and the name written to the Texture Palette is taken directly from the osg::Image object referenced by the osg::Texture2D StateAttribute." ); 
    147147        } 
    148148