OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::ObjectID Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/ObjectID.hpp>

Public Member Functions

 ObjectID (size_t id)
 ObjectID ()
bool operator== (const ObjectID &rhs) const
bool operator!= (const ObjectID &rhs) const
bool operator< (const ObjectID &rhs) const
bool operator> (const ObjectID &rhs) const
bool operator<= (const ObjectID &rhs) const
bool operator>= (const ObjectID &rhs) const
bool valid () const
bool invalid () const

Public Attributes

size_t id

Private Member Functions

template<class Archive>
void serialize (Archive &ar)

Friends

class cereal::access

Detailed Description

Constructor & Destructor Documentation

◆ ObjectID() [1/2]

Slic3r::ObjectID::ObjectID ( size_t id)
inline
25: id(id) {}
size_t id
Definition ObjectID.hpp:39

References id.

Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().

Here is the caller graph for this function:

◆ ObjectID() [2/2]

Slic3r::ObjectID::ObjectID ( )
inline
27: id(0) {}

References id.

Member Function Documentation

◆ invalid()

bool Slic3r::ObjectID::invalid ( ) const
inline

◆ operator!=()

bool Slic3r::ObjectID::operator!= ( const ObjectID & rhs) const
inline
30{ return this->id != rhs.id; }

References ObjectID(), and id.

Here is the call graph for this function:

◆ operator<()

bool Slic3r::ObjectID::operator< ( const ObjectID & rhs) const
inline
31{ return this->id < rhs.id; }

References ObjectID(), and id.

Here is the call graph for this function:

◆ operator<=()

bool Slic3r::ObjectID::operator<= ( const ObjectID & rhs) const
inline
33{ return this->id <= rhs.id; }

References ObjectID(), and id.

Here is the call graph for this function:

◆ operator==()

bool Slic3r::ObjectID::operator== ( const ObjectID & rhs) const
inline
29{ return this->id == rhs.id; }

References ObjectID(), and id.

Here is the call graph for this function:

◆ operator>()

bool Slic3r::ObjectID::operator> ( const ObjectID & rhs) const
inline
32{ return this->id > rhs.id; }

References ObjectID(), and id.

Here is the call graph for this function:

◆ operator>=()

bool Slic3r::ObjectID::operator>= ( const ObjectID & rhs) const
inline
34{ return this->id >= rhs.id; }

References ObjectID(), and id.

Here is the call graph for this function:

◆ serialize()

template<class Archive>
void Slic3r::ObjectID::serialize ( Archive & ar)
inlineprivate
43{ ar(id); }

◆ valid()

◆ cereal::access

friend class cereal::access
friend

References cereal::access.

Referenced by cereal::access.

Member Data Documentation

◆ id

size_t Slic3r::ObjectID::id

Referenced by Slic3r::ModelObject::ModelObject(), ObjectID(), ObjectID(), Slic3r::_BBS_3MF_Exporter::_add_cut_information_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_slice_info_config_file_to_archive(), Slic3r::Model::add_object(), Slic3r::SLAPrint::apply(), Slic3r::GUI::calc_surface_offset(), Slic3r::GUI::GLGizmoTextureDisplacement::close_image_adjust(), Slic3r::ModelObject::convert_units(), anonymous_namespace{RaycastManager.cpp}::create_key(), Slic3r::GUI::create_meshes(), Slic3r::GUI::Emboss::create_volume_sources(), Slic3r::GCode::do_export(), Slic3r::GUI::PartPlate::duplicate_all_instance(), Slic3r::GUI::PartPlateList::duplicate_plate(), Slic3r::Print::export_cached_data(), Slic3r::PreciseSeam::detail::fragment_location(), Slic3r::from_json(), Slic3r::GUI::Plater::priv::generate_first_layer_bbox(), Slic3r::GUI::GLCanvas3D::get_empty_cells(), Slic3r::ModelInstance::get_labeled_id(), Slic3r::GUI::GLGizmoFdmSupports::init_print_instance(), Slic3r::ModelVolume::is_the_only_one_part(), Slic3r::GUI::IMSlider::IsNewPrint(), Slic3r::Print::load_cached_data(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::GLVolumeCollection::load_object_volume(), Slic3r::GLVolumeCollection::load_real_wipe_tower_preview(), Slic3r::GUI::GCodeViewer::load_shells(), Slic3r::GLVolumeCollection::load_wipe_tower_preview(), Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers(), Slic3r::ModelConfigObject::object_id_and_timestamp_match(), Slic3r::ObjectWithTimestamp::object_id_and_timestamp_match(), Slic3r::GUI::Plater::priv::on_slicing_update(), Slic3r::GUI::GLGizmoTextureDisplacement::open_image_adjust(), operator!=(), operator<(), operator<=(), Slic3r::ModelObject::operator=(), operator==(), operator>(), operator>=(), Slic3r::GUI::GLGizmoTextureDisplacement::painted_area_mm2(), anonymous_namespace{GLGizmoEmboss.cpp}::prepare_volumes_to_slice(), Slic3r::GUI::GLGizmoTextureDisplacement::queue_prepare(), Slic3r::GUI::GLGizmoTextureDisplacement::rebuild_other_paint_overlay(), Slic3r::GUI::GLGizmoTextureDisplacement::rebuild_painted_colors(), Slic3r::GUI::GLCanvas3D::reload_scene(), Slic3r::_BBS_Backup_Manager::remove_backup(), Slic3r::GUI::GLGizmoTextureDisplacement::render_image_adjust_window(), Slic3r::GUI::Plater::reslice_SLA_until_step(), Slic3r::CLI::run(), Slic3r::ModelObject::split(), anonymous_namespace{EmbossJob.cpp}::start_create_volume_on_surface_job(), Slic3r::UndoRedo::StackImpl::take_snapshot(), Slic3r::to_json(), anonymous_namespace{EmbossJob.cpp}::update_name_in_list(), Slic3r::GUI::ObjectList::update_name_in_model(), and Slic3r::GUI::GLGizmoTextureDisplacement::v2_recommendation().


The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/ObjectID.hpp