remove unnecessary pass by value for plot class

This commit is contained in:
Gavin Ridley 2021-02-11 16:43:34 -05:00
parent 86e7403a21
commit 12b6deaacf
2 changed files with 11 additions and 12 deletions

View file

@ -241,12 +241,12 @@ public:
//! Add mesh lines to image data of a plot object
//! \param[in] plot object
//! \param[out] image data associated with the plot object
void draw_mesh_lines(Plot pl, ImageData& data);
void draw_mesh_lines(Plot const& pl, ImageData& data);
//! Write a ppm image to file using a plot object's image data
//! \param[in] plot object
//! \param[out] image data associated with the plot object
void output_ppm(Plot pl, const ImageData& data);
void output_ppm(Plot const& pl, const ImageData& data);
//! Initialize a voxel file
//! \param[in] id of an open hdf5 file
@ -280,11 +280,11 @@ void read_plots_xml();
//! Create a ppm image for a plot object
//! \param[in] plot object
void create_ppm(Plot pl);
void create_ppm(Plot const& pl);
//! Create an hdf5 voxel file for a plot object
//! \param[in] plot object
void create_voxel(Plot pl);
void create_voxel(Plot const& pl);
//! Create a randomly generated RGB color
//! \return RGBColor with random value