libslic3r
Library for generating gcode from 3d models
Public Member Functions | List of all members
Slic3r::ConfigOptionFloats Class Reference

Vector form of template specialization for floating point numbers. More...

#include <ConfigBase.hpp>

Inheritance diagram for Slic3r::ConfigOptionFloats:
Slic3r::ConfigOptionVector< double > Slic3r::ConfigOptionVectorBase Slic3r::ConfigOption

Public Member Functions

 ConfigOptionFloats ()
 
 ConfigOptionFloats (const std::vector< double > _values)
 
ConfigOptionFloatsclone () const
 
std::string serialize () const
 
std::vector< std::string > vserialize () const
 
bool deserialize (std::string str, bool append=false)
 
- Public Member Functions inherited from Slic3r::ConfigOptionVector< double >
 ConfigOptionVector ()
 
 ConfigOptionVector (const std::vector< double > _values)
 
virtual ~ConfigOptionVector ()
 
void set (const ConfigOption &option)
 
double get_at (size_t i) const
 
- Public Member Functions inherited from Slic3r::ConfigOptionVectorBase
virtual ~ConfigOptionVectorBase ()
 
- Public Member Functions inherited from Slic3r::ConfigOption
virtual ~ConfigOption ()
 
virtual int getInt () const
 
virtual double getFloat () const
 
virtual bool getBool () const
 
virtual void setInt (int val)
 
virtual void setFloat (double val)
 
virtual void setString (std::string val)
 
virtual std::string getString () const
 

Additional Inherited Members

- Public Attributes inherited from Slic3r::ConfigOptionVector< double >
std::vector< double > values
 

Detailed Description

Vector form of template specialization for floating point numbers.

Constructor & Destructor Documentation

◆ ConfigOptionFloats() [1/2]

Slic3r::ConfigOptionFloats::ConfigOptionFloats ( )
inline

◆ ConfigOptionFloats() [2/2]

Slic3r::ConfigOptionFloats::ConfigOptionFloats ( const std::vector< double >  _values)
inline

Member Function Documentation

◆ clone()

ConfigOptionFloats* Slic3r::ConfigOptionFloats::clone ( ) const
inlinevirtual

Implements Slic3r::ConfigOption.

◆ deserialize()

bool Slic3r::ConfigOptionFloats::deserialize ( std::string  str,
bool  append = false 
)
inlinevirtual

Implements Slic3r::ConfigOption.

◆ serialize()

std::string Slic3r::ConfigOptionFloats::serialize ( ) const
inlinevirtual

Implements Slic3r::ConfigOption.

◆ vserialize()

std::vector<std::string> Slic3r::ConfigOptionFloats::vserialize ( ) const
inlinevirtual

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