|
|
|
Operates on a pfm file.
More...
#include "pfmTrans.h"
List of all members.
Public Member Functions |
| void | add_transform_options () |
| | Adds -TS, -TT, etc.
|
| bool | process_pfm (const Filename &input_filename, PfmFile &file) |
| | Handles a single pfm file.
|
|
void | run () |
Protected Member Functions |
| virtual bool | handle_args (Args &args) |
| | Does something with the additional arguments on the command line (after all the -options have been parsed).
|
| bool | ns_dispatch_rotate_axis (const string &opt, const string &arg, void *var) |
| | Handles -TA, which specifies a rotate transform about an arbitrary axis.
|
| bool | ns_dispatch_rotate_xyz (const string &opt, const string &arg, void *var) |
| | Handles -TR, which specifies a rotate transform about the three cardinal axes.
|
Static Protected Member Functions |
| static bool | dispatch_rotate_axis (ProgramBase *self, const string &opt, const string &arg, void *var) |
| | Handles -TA, which specifies a rotate transform about an arbitrary axis.
|
| static bool | dispatch_rotate_xyz (ProgramBase *self, const string &opt, const string &arg, void *var) |
| | Handles -TR, which specifies a rotate transform about the three cardinal axes.
|
| static bool | dispatch_scale (const string &opt, const string &arg, void *var) |
| | Handles -TS, which specifies a scale transform.
|
| static bool | dispatch_translate (const string &opt, const string &arg, void *var) |
| | Handles -TT, which specifies a translate transform.
|
Detailed Description
Operates on a pfm file.
Definition at line 31 of file pfmTrans.h.
Member Function Documentation
Does something with the additional arguments on the command line (after all the -options have been parsed).
Returns true if the arguments are good, false otherwise.
Reimplemented from ProgramBase.
Definition at line 300 of file pfmTrans.cxx.
References Filename::from_os_specific().
Handles a single pfm file.
Definition at line 163 of file pfmTrans.cxx.
References PfmFile::apply_crop(), PfmFile::calc_autocrop(), PfmFile::flip(), PfmVizzer::generate_vis_mesh(), Filename::get_basename(), Filename::get_basename_wo_extension(), TexturePool::load_texture(), NodePath::reparent_to(), PfmFile::resize(), NodePath::set_name(), NodePath::set_texture(), NodePath::set_transparency(), PfmVizzer::set_vis_2d(), PfmVizzer::set_vis_inverse(), PfmFile::set_zero_special(), PfmFile::write(), and PfmFile::xform().
The documentation for this class was generated from the following files:
| | |