cgv
Loading...
Searching...
No Matches
cgv::app::color_map_writer Class Reference

Static Public Member Functions

static void to_xml_printer (tinyxml2::XMLPrinter &printer, const std::string &name, const cgv::render::color_map &color_map, bool put_parent_tag=true)
 
static void to_xml_printer (tinyxml2::XMLPrinter &printer, const std::vector< std::string > &names, const std::vector< cgv::render::color_map > &color_maps, bool put_parent_tag=true)
 
static std::string to_xml (const std::string &name, const cgv::render::color_map &color_map, bool put_parent_tag=true)
 
static std::string to_xml (const std::vector< std::string > &names, const std::vector< cgv::render::color_map > &color_maps, bool put_parent_tag=true)
 
static bool write_to_xml_file (const std::string &file_name, const std::string &name, const cgv::render::color_map &color_map, bool put_parent_tag=true)
 
static bool write_to_xml_file (const std::string &file_name, const std::vector< std::string > &names, const std::vector< cgv::render::color_map > &color_maps, bool put_parent_tag=true)
 
static bool write_to_png_file (const std::string &file_name, const cgv::render::color_map &color_map, size_t resolution)
 

Detailed Description

Definition at line 14 of file color_map_writer.h.

Member Function Documentation

◆ to_xml() [1/2]

static std::string cgv::app::color_map_writer::to_xml ( const std::string &  name,
const cgv::render::color_map color_map,
bool  put_parent_tag = true 
)
inlinestatic

Definition at line 62 of file color_map_writer.h.

◆ to_xml() [2/2]

static std::string cgv::app::color_map_writer::to_xml ( const std::vector< std::string > &  names,
const std::vector< cgv::render::color_map > &  color_maps,
bool  put_parent_tag = true 
)
inlinestatic

Definition at line 70 of file color_map_writer.h.

◆ to_xml_printer() [1/2]

static void cgv::app::color_map_writer::to_xml_printer ( tinyxml2::XMLPrinter &  printer,
const std::string &  name,
const cgv::render::color_map color_map,
bool  put_parent_tag = true 
)
inlinestatic

Definition at line 41 of file color_map_writer.h.

◆ to_xml_printer() [2/2]

static void cgv::app::color_map_writer::to_xml_printer ( tinyxml2::XMLPrinter &  printer,
const std::vector< std::string > &  names,
const std::vector< cgv::render::color_map > &  color_maps,
bool  put_parent_tag = true 
)
inlinestatic

Definition at line 48 of file color_map_writer.h.

◆ write_to_png_file()

static bool cgv::app::color_map_writer::write_to_png_file ( const std::string &  file_name,
const cgv::render::color_map color_map,
size_t  resolution 
)
inlinestatic

Definition at line 92 of file color_map_writer.h.

◆ write_to_xml_file() [1/2]

static bool cgv::app::color_map_writer::write_to_xml_file ( const std::string &  file_name,
const std::string &  name,
const cgv::render::color_map color_map,
bool  put_parent_tag = true 
)
inlinestatic

Definition at line 79 of file color_map_writer.h.

◆ write_to_xml_file() [2/2]

static bool cgv::app::color_map_writer::write_to_xml_file ( const std::string &  file_name,
const std::vector< std::string > &  names,
const std::vector< cgv::render::color_map > &  color_maps,
bool  put_parent_tag = true 
)
inlinestatic

Definition at line 87 of file color_map_writer.h.


The documentation for this class was generated from the following file: