Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::Imports::LWTexture Class Reference

LWTexture. More...

#include <LWTexture.h>

Collaboration diagram for Teddy::Imports::LWTexture:

Collaboration graph
[legend]
List of all members.

Public Methods

 LWTexture (LWSurface *surface, int map_type)
void processTexture ()
void applyTexture ()
void readTextureFlags_U2 ()
void readTextureSize_VEC12 ()
void readTextureCenter_VEC12 ()
void readTextureFallOff_VEC12 ()
void readTextureVelocity_VEC12 ()
void readTextureReferenceObject_S0 ()
void readTextureColor_COL4 ()
void readTextureValue_IP2 ()
void readBumpTextureAmplitude_FP4 ()
void readTextureAlgorithm_F4 ()
void readTextureAlgorithm_I2 ()
void readImageMap_FNAM0 ()
void readImageAlpha_FNAM0 ()
void readImageWarpOptions_U2_U2 ()
void readAntialiasingStrength_FP4 ()
void readTextureOpacity_FP4 ()

Protected Attributes

LWFilef
LWSurfacesurface
VEC12 texture_center
 TCTR. More...

VEC12 texture_size
 TSIZ. More...

U2 texture_projection_mode
 CTEX. More...

U2 texture_major_axis
 TFLG. More...

FNAM0 texture_image_map
 TIMG. More...


Detailed Description

LWTexture.

Todo:
docs

Definition at line 65 of file LWTexture.h.


Constructor & Destructor Documentation

Teddy::Imports::LWTexture::LWTexture LWSurface   surface,
int    map_type
 

Definition at line 50 of file LWTexture.cpp.

References Teddy::SysSupport::emsg, f, LW_CUBIC_IMAGE_MAP, LW_CYLINDRICAL_IMAGE_MAP, LW_PLANAR_IMAGE_MAP, LW_PROJECTION_CUBIC, LW_PROJECTION_CYLINDRICAL, LW_PROJECTION_PLANAR, LW_PROJECTION_SPHERICAL, LW_SPHERICAL_IMAGE_MAP, Teddy::SysSupport::M_LWO, surface, TEXTURE_AXIS_X, texture_center, texture_major_axis, texture_projection_mode, texture_size, and Vector.


Member Function Documentation

void Teddy::Imports::LWTexture::applyTexture  
 

Definition at line 67 of file LWTexture.cpp.

References Teddy::SysSupport::dmsg, Teddy::SysSupport::emsg, Teddy::SysSupport::fix_file_name, LW_PROJECTION_CUBIC, LW_PROJECTION_CYLINDRICAL, LW_PROJECTION_FRONT, LW_PROJECTION_PLANAR, LW_PROJECTION_SPHERICAL, LW_PROJECTION_UV, Teddy::SysSupport::M_LWO, Teddy::SysSupport::M_TMAP, surface, texture_center, texture_image_map, texture_major_axis, and texture_size.

void Teddy::Imports::LWTexture::processTexture  
 

void Teddy::Imports::LWTexture::readAntialiasingStrength_FP4  
 

Definition at line 249 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readBumpTextureAmplitude_FP4  
 

Definition at line 229 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readImageAlpha_FNAM0  
 

Definition at line 242 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readImageMap_FNAM0  
 

Definition at line 238 of file LWTexture.cpp.

References f, and texture_image_map.

void Teddy::Imports::LWTexture::readImageWarpOptions_U2_U2  
 

Definition at line 246 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readTextureAlgorithm_F4  
 

Definition at line 232 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readTextureAlgorithm_I2  
 

Definition at line 235 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readTextureCenter_VEC12  
 

Definition at line 210 of file LWTexture.cpp.

References f, and texture_center.

void Teddy::Imports::LWTexture::readTextureColor_COL4  
 

Definition at line 223 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readTextureFallOff_VEC12  
 

Definition at line 214 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readTextureFlags_U2  
 

Definition at line 176 of file LWTexture.cpp.

References Teddy::SysSupport::dmsg, f, LW_TF_AXIS_X, LW_TF_AXIS_Y, LW_TF_AXIS_Z, Teddy::SysSupport::M_TMAP, TEXTURE_AXIS_X, TEXTURE_AXIS_Y, TEXTURE_AXIS_Z, texture_major_axis, and Teddy::Imports::U2.

void Teddy::Imports::LWTexture::readTextureOpacity_FP4  
 

Definition at line 252 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readTextureReferenceObject_S0  
 

Definition at line 220 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readTextureSize_VEC12  
 

Definition at line 206 of file LWTexture.cpp.

References f, and texture_size.

void Teddy::Imports::LWTexture::readTextureValue_IP2  
 

Definition at line 226 of file LWTexture.cpp.

void Teddy::Imports::LWTexture::readTextureVelocity_VEC12  
 

Definition at line 217 of file LWTexture.cpp.


Member Data Documentation

LWFile* Teddy::Imports::LWTexture::f [protected]
 

Definition at line 93 of file LWTexture.h.

Referenced by LWTexture, readImageMap_FNAM0, readTextureCenter_VEC12, readTextureFlags_U2, and readTextureSize_VEC12.

LWSurface* Teddy::Imports::LWTexture::surface [protected]
 

Definition at line 94 of file LWTexture.h.

Referenced by applyTexture, and LWTexture.

VEC12 Teddy::Imports::LWTexture::texture_center [protected]
 

TCTR.

Definition at line 95 of file LWTexture.h.

Referenced by applyTexture, LWTexture, and readTextureCenter_VEC12.

FNAM0 Teddy::Imports::LWTexture::texture_image_map [protected]
 

TIMG.

Definition at line 99 of file LWTexture.h.

Referenced by applyTexture, and readImageMap_FNAM0.

U2 Teddy::Imports::LWTexture::texture_major_axis [protected]
 

TFLG.

Definition at line 98 of file LWTexture.h.

Referenced by applyTexture, LWTexture, and readTextureFlags_U2.

U2 Teddy::Imports::LWTexture::texture_projection_mode [protected]
 

CTEX.

Definition at line 97 of file LWTexture.h.

Referenced by LWTexture.

VEC12 Teddy::Imports::LWTexture::texture_size [protected]
 

TSIZ.

Definition at line 96 of file LWTexture.h.

Referenced by applyTexture, LWTexture, and readTextureSize_VEC12.


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