33 INLINE
void set_read_size(
int x_size,
int y_size);
37 virtual void prepare_read();
38 virtual bool is_floating_point();
39 virtual bool read_pfm(
PfmFile &pfm);
40 virtual int read_data(
xel *array, xelval *alpha);
41 virtual bool supports_read_row()
const;
42 virtual bool read_row(
xel *array, xelval *alpha,
int x_size,
int y_size);
44 virtual bool supports_stream_read()
const;
46 INLINE
bool is_valid()
const;
49 int get_reduction_shift(
int orig_size,
int new_size);
57 int _read_x_size, _read_y_size;
60 int _x_shift, _y_shift;
61 int _orig_x_size, _orig_y_size;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the base class of a family of classes that represent particular image file types that PNMImag...
Defines a pfm file, a 2-d table of floating-point numbers, either 3-component or 1-component,...
This is an abstract base class that defines the interface for reading image files of various types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.