Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ObjToSceneConfig Class Reference

Configuration for the OBJ to scene converter. More...

Public Member Functions

 ObjToSceneConfig (const std::vector< std::string > &argv)
 
- Public Member Functions inherited from Config
 Config (const std::vector< std::string > &argv)
 
bool showHelp ()
 

Public Attributes

std::string inputMeshPath
 Input OBJ path. Textures paths should be relative to it.
 
std::string outputPath = "./"
 Output directory path. Should already exists.
 
std::string outputName = "scene"
 Scene name, will be used as a prefix for all files.
 
bool generateMap = false
 Generate a RGB color 8x8 image.
 
glm::vec3 valuesMap = glm::vec3(0.5f, 0.0f, 1.0f)
 Values for the generated image.
 

Additional Inherited Members

- Protected Member Functions inherited from Config
const std::vector< KeyValues > & arguments () const
 
void registerSection (const std::string &name)
 
void registerArgument (const std::string &longName, const std::string &shortName, const std::string &details, const std::vector< std::string > &params={})
 
void registerArgument (const std::string &longName, const std::string &shortName, const std::string &details, const std::string &param)
 

Detailed Description

Configuration for the OBJ to scene converter.

Inherits Config.

Constructor & Destructor Documentation

◆ ObjToSceneConfig()

ObjToSceneConfig::ObjToSceneConfig ( const std::vector< std::string > &  argv)
inlineexplicit

Initialize a new config object, parsing the input arguments and filling the attributes with their values.

Parameters
argvthe raw input arguments

The documentation for this class was generated from the following file: