Represents a Wavefront OBJ texture. See also ObjMaterial and ObjLoader.
More...
#include <ioOBJ.hpp>
Represents a Wavefront OBJ texture. See also ObjMaterial and ObjLoader.
Definition at line 92 of file ioOBJ.hpp.
◆ ObjTexture()
ObjTexture::ObjTexture |
( |
| ) |
|
Definition at line 64 of file ioOBJ.cpp.
References mBlendU, mBlendV, mBM, mCC, mClamp, mImfchan, mMM_Base, mMM_Gain, mO_UVW, mS_UVW, mT_UVW, and mTexres_Value.
Referenced by vl::ObjLoader::loadObjMaterials().
◆ blendU()
bool vl::ObjTexture::blendU |
( |
| ) |
const |
|
inline |
◆ blendV()
bool vl::ObjTexture::blendV |
( |
| ) |
const |
|
inline |
◆ bm()
float vl::ObjTexture::bm |
( |
| ) |
const |
|
inline |
◆ cc()
bool vl::ObjTexture::cc |
( |
| ) |
const |
|
inline |
◆ clamp()
bool vl::ObjTexture::clamp |
( |
| ) |
const |
|
inline |
◆ imfchan()
char vl::ObjTexture::imfchan |
( |
| ) |
const |
|
inline |
-imfchan r | g | b | m | l | z
Definition at line 124 of file ioOBJ.hpp.
◆ mm_Base()
float vl::ObjTexture::mm_Base |
( |
| ) |
const |
|
inline |
◆ mm_Gain()
float vl::ObjTexture::mm_Gain |
( |
| ) |
const |
|
inline |
◆ o_UVW()
const fvec3& vl::ObjTexture::o_UVW |
( |
| ) |
const |
|
inline |
◆ parseLine()
Definition at line 80 of file ioOBJ.cpp.
References vl::Log::error(), mBlendU, mBlendV, mBM, mCC, mClamp, mFileName, mImfchan, mMM_Base, mMM_Gain, mO_UVW, mS_UVW, mT_UVW, mTexres_Value, and vl::String::split().
Referenced by vl::ObjLoader::loadObjMaterials().
◆ path()
const String& vl::ObjTexture::path |
( |
| ) |
const |
|
inline |
◆ print()
void ObjTexture::print |
( |
| ) |
|
Prints the content of the material. Used for debugging purposes.
Definition at line 173 of file ioOBJ.cpp.
References mBlendU, mBlendV, mBM, mCC, mClamp, mFileName, mImfchan, mMM_Base, mMM_Gain, mO_UVW, mS_UVW, mT_UVW, mTexres_Value, vl::Log::print(), and vl::String::toStdString().
◆ s_UVW()
const fvec3& vl::ObjTexture::s_UVW |
( |
| ) |
const |
|
inline |
◆ setBlendU()
void vl::ObjTexture::setBlendU |
( |
bool |
on | ) |
|
|
inline |
◆ setBlendV()
void vl::ObjTexture::setBlendV |
( |
bool |
on | ) |
|
|
inline |
◆ setBM()
void vl::ObjTexture::setBM |
( |
float |
bm | ) |
|
|
inline |
◆ setCC()
void vl::ObjTexture::setCC |
( |
bool |
on | ) |
|
|
inline |
◆ setClamp()
void vl::ObjTexture::setClamp |
( |
bool |
on | ) |
|
|
inline |
◆ setImfchan()
void vl::ObjTexture::setImfchan |
( |
char |
val | ) |
|
|
inline |
-imfchan r | g | b | m | l | z
Definition at line 151 of file ioOBJ.hpp.
◆ setMM_Base()
void vl::ObjTexture::setMM_Base |
( |
float |
base | ) |
|
|
inline |
◆ setMM_Gain()
void vl::ObjTexture::setMM_Gain |
( |
float |
gain | ) |
|
|
inline |
◆ setO_UVW()
void vl::ObjTexture::setO_UVW |
( |
const fvec3 & |
o_uvw | ) |
|
|
inline |
◆ setPath()
void vl::ObjTexture::setPath |
( |
const String & |
filename | ) |
|
|
inline |
◆ setS_UVW()
void vl::ObjTexture::setS_UVW |
( |
const fvec3 & |
s_uvw | ) |
|
|
inline |
◆ setT_UVW()
void vl::ObjTexture::setT_UVW |
( |
const fvec3 & |
t_uvw | ) |
|
|
inline |
◆ setTexres_Value()
void vl::ObjTexture::setTexres_Value |
( |
float |
value | ) |
|
|
inline |
◆ t_UVW()
const fvec3& vl::ObjTexture::t_UVW |
( |
| ) |
const |
|
inline |
◆ texres_Value()
float vl::ObjTexture::texres_Value |
( |
| ) |
const |
|
inline |
◆ valid()
bool vl::ObjTexture::valid |
( |
| ) |
const |
|
inline |
◆ mBlendU
bool vl::ObjTexture::mBlendU |
|
protected |
◆ mBlendV
bool vl::ObjTexture::mBlendV |
|
protected |
◆ mBM
float vl::ObjTexture::mBM |
|
protected |
◆ mCC
◆ mClamp
bool vl::ObjTexture::mClamp |
|
protected |
◆ mFileName
String vl::ObjTexture::mFileName |
|
protected |
◆ mImfchan
char vl::ObjTexture::mImfchan |
|
protected |
◆ mMM_Base
float vl::ObjTexture::mMM_Base |
|
protected |
◆ mMM_Gain
float vl::ObjTexture::mMM_Gain |
|
protected |
◆ mO_UVW
fvec3 vl::ObjTexture::mO_UVW |
|
protected |
◆ mS_UVW
fvec3 vl::ObjTexture::mS_UVW |
|
protected |
◆ mT_UVW
fvec3 vl::ObjTexture::mT_UVW |
|
protected |
◆ mTexres_Value
float vl::ObjTexture::mTexres_Value |
|
protected |
The documentation for this class was generated from the following files: