Alamo
|
Public Types | |
enum | Fit { Stretch, FitWidth, FitHeight, Coord } |
enum | Channel { R = 0, G = 1, B = 2, A = 3 } |
Public Member Functions | |
PNG (amrex::Vector< amrex::Geometry > &_geom) | |
PNG (amrex::Vector< amrex::Geometry > &_geom, IO::ParmParse &pp, std::string name) | |
void | Define (std::string filename) |
void | Add (const int &lev, Set::Field< Set::Scalar > &a_field, Set::Scalar) |
Public Member Functions inherited from IC::IC | |
IC (amrex::Vector< amrex::Geometry > &_geom) | |
virtual | ~IC () |
virtual void | Add (const int &lev, Set::Field< Set::Scalar > &field) |
virtual void | Add (const int &, Set::Field< Set::Vector > &, Set::Scalar) |
void | Initialize (const int &a_lev, Set::Field< Set::Scalar > &a_field, Set::Scalar a_time=0.0) |
void | Initialize (const int &a_lev, Set::Field< Set::Vector > &a_field, Set::Scalar a_time=0.0) |
virtual void | SetComp (int a_comp) final |
Static Public Member Functions | |
static void | Parse (PNG &value, IO::ParmParse &pp) |
Private Attributes | |
int | png_width |
int | png_height |
png_byte | color_type |
png_byte | bit_depth |
png_bytep * | row_pointers = NULL |
Set::Vector | coord_lo = Set::Vector::Zero() |
Set::Vector | coord_hi = Set::Vector::Zero() |
Fit | fit = Fit::Stretch |
Channel | channel = Channel::G |
Set::Scalar | min = NAN |
Set::Scalar | max = NAN |
Additional Inherited Members | |
Protected Attributes inherited from IC::IC | |
amrex::Vector< amrex::Geometry > & | geom |
int | comp = 0 |
enum IC::PNG::Channel |
enum IC::PNG::Fit |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinestatic |
|
private |
|
private |
|
private |
|
private |