molecular
Public Member Functions | Public Attributes | List of all members
molecular::util::MtlFile::Material Struct Reference

#include <MtlFile.h>

Public Member Functions

 Material (const std::string inName="")
 

Public Attributes

std::string name
 
bool hasDiffuse = false
 
float diffuse [3] = {0,0,0}
 
bool hasAmbient = false
 
float ambient [3] = {0,0,0}
 
bool hasSpecular = false
 
float specular [3] = {0,0,0}
 
bool hasSpecularExponent = false
 
float specularExponent = 0.0
 
bool hasTransparency = false
 
float transparency = 1.0
 
bool hasIlluminationModel = false
 
int illuminationModel = 2
 

Constructor & Destructor Documentation

molecular::util::MtlFile::Material::Material ( const std::string  inName = "")
inline

Member Data Documentation

float molecular::util::MtlFile::Material::ambient[3] = {0,0,0}
float molecular::util::MtlFile::Material::diffuse[3] = {0,0,0}
bool molecular::util::MtlFile::Material::hasAmbient = false
bool molecular::util::MtlFile::Material::hasDiffuse = false
bool molecular::util::MtlFile::Material::hasIlluminationModel = false
bool molecular::util::MtlFile::Material::hasSpecular = false
bool molecular::util::MtlFile::Material::hasSpecularExponent = false
bool molecular::util::MtlFile::Material::hasTransparency = false
int molecular::util::MtlFile::Material::illuminationModel = 2
std::string molecular::util::MtlFile::Material::name
float molecular::util::MtlFile::Material::specular[3] = {0,0,0}
float molecular::util::MtlFile::Material::specularExponent = 0.0
float molecular::util::MtlFile::Material::transparency = 1.0

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