11 #include "MooseConfig.h" 12 #ifdef MOOSE_HAVE_LIBPNG 20 #include "libmesh/mesh_function.h" 21 #include "libmesh/bounding_box.h" unsigned int _nl_sys_num
What nonlinear system the variable is in.
void makePNG()
Function that creates the PNG.
std::unique_ptr< libMesh::MeshFunction > _mesh_function
Pointer to the libMesh::MeshFunction object in which the read data is stored.
const MooseEnum _color
Way to specify color vs grayscale image creation.
void makeMeshFunc()
Function to create the mesh_function.
static InputParameters validParams()
Basic constructor. Takes parameters passed in to create a PNGOutput object.
const bool _transparent_background
Indicates whether to make the background transparent.
Real reverseScale(Real value_to_unscale)
Function for reversing the applyScale function.
Real _out_bounds_shade
Value of the colors that are outside of the libmesh bounds.
void calculateRescalingValues()
Function to populate values to the variables used for scaling.
const unsigned int _resolution
Variable to determine the size, or resolution, of the image.
const Real _transparency
Controls transparency level for the general image.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Real _max
Variables that store the max and min of the values in the variable used.
Real applyScale(Real value_to_scale)
Function for applying scaling to given values.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _scaling_min
Values used for rescaling the image.
BoundingBox _box
The boundaries of the image.
VariableName _variable
The name of the variable to use to create the png.
PNGOutput(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
An outputter with filename support.
void setRGB(png_byte *rgb, Real selection)
Method for assigning color values to the PNG.
virtual void output()
Called to run the functions in this class.