#include <eggTextureCards.h>
Inheritance diagram for EggTextureCards:
Public Member Functions | |
EggTextureCards () | |
void | run () |
Public Attributes | |
LVecBase4d | _polygon_geometry |
LVecBase2d | _pixel_scale |
bool | _got_pixel_scale |
Colorf | _polygon_color |
vector_string | _texture_names |
EggTexture::WrapMode | _wrap_mode |
EggTexture::Format | _format |
EggTexture::Format | _format_1 |
EggTexture::Format | _format_2 |
EggTexture::Format | _format_3 |
EggTexture::Format | _format_4 |
bool | _apply_bface |
Protected Member Functions | |
virtual bool | handle_args (Args &args) |
Static Protected Member Functions | |
bool | dispatch_wrap_mode (const string &opt, const string &arg, void *var) |
bool | dispatch_format (const string &opt, const string &arg, void *var) |
Private Member Functions | |
bool | scan_texture (const Filename &filename, LVecBase4d &geometry, int &num_channels) |
void | make_vertices (const LPoint4d &geometry, EggVertexPool *vpool, EggVertex *&v1, EggVertex *&v2, EggVertex *&v3, EggVertex *&v4) |
|
|
Definition at line 192 of file eggTextureCards.cxx. References EggTexture::F_unspecified, EggTexture::Format, nout, and EggTexture::string_format(). Referenced by EggTextureCards(). |
|
Definition at line 163 of file eggTextureCards.cxx. References nout, EggTexture::string_wrap_mode(), EggTexture::WM_clamp, EggTexture::WM_repeat, EggTexture::WM_unspecified, and EggTexture::WrapMode. Referenced by EggTextureCards(). |
|
Reimplemented from EggWriter. Definition at line 138 of file eggTextureCards.cxx. References _texture_names, WithOutputFile::check_last_arg(), and nout. |
|
Definition at line 245 of file eggTextureCards.cxx. References EggVertexPool::make_new_vertex(), EggAttributes::set_uv(), and TexCoordd. Referenced by run(). |
|
|
Definition at line 218 of file eggTextureCards.cxx. References _pixel_scale, _polygon_geometry, PNMImageHeader::get_num_channels(), PNMImageHeader::get_x_size(), PNMImageHeader::get_y_size(), nout, and PNMImageHeader::read_header(). Referenced by run(). |
|
Definition at line 64 of file eggTextureCards.h. Referenced by EggTextureCards(). |
|
Definition at line 62 of file eggTextureCards.h. Referenced by EggTextureCards(), and run(). |
|
Definition at line 63 of file eggTextureCards.h. Referenced by EggTextureCards(), and run(). |
|
Definition at line 63 of file eggTextureCards.h. Referenced by EggTextureCards(), and run(). |
|
Definition at line 63 of file eggTextureCards.h. Referenced by EggTextureCards(), and run(). |
|
Definition at line 63 of file eggTextureCards.h. Referenced by EggTextureCards(), and run(). |
|
Definition at line 58 of file eggTextureCards.h. Referenced by EggTextureCards(), and run(). |
|
Definition at line 57 of file eggTextureCards.h. Referenced by EggTextureCards(), and scan_texture(). |
|
Definition at line 59 of file eggTextureCards.h. Referenced by EggTextureCards(), and run(). |
|
Definition at line 56 of file eggTextureCards.h. Referenced by EggTextureCards(), run(), and scan_texture(). |
|
Definition at line 60 of file eggTextureCards.h. Referenced by handle_args(), and run(). |
|
Definition at line 61 of file eggTextureCards.h. Referenced by EggTextureCards(), and run(). |