set_combined_orientation(const unsigned int object,
const unsigned char value);
- /**
- * Set the orientation bit of the object.
- */
- void
- set_orientation(const unsigned int object, const bool value);
-
- /**
- * Set the rotate bit of the object.
- */
- void
- set_rotation(const unsigned int object, const bool value);
-
- /**
- * Set the flip bit of the object.
- */
- void
- set_flip(const unsigned int object, const bool value);
-
/**
* Read or write the data of this object to or from a stream for the
* purpose of serialization using the [BOOST serialization
- inline void
- TriaObjectsOrientations::set_orientation(const unsigned int object,
- const bool value)
- {
- AssertIndexRange(object, n_stored_objects);
- Utilities::set_bit(flags[object], 0, value);
- }
-
-
-
- inline void
- TriaObjectsOrientations::set_rotation(const unsigned int object,
- const bool value)
- {
- AssertIndexRange(object, n_stored_objects);
- Utilities::set_bit(flags[object], 1, value);
- }
-
-
-
- inline void
- TriaObjectsOrientations::set_flip(const unsigned int object,
- const bool value)
- {
- AssertIndexRange(object, n_stored_objects);
- Utilities::set_bit(flags[object], 2, value);
- }
-
-
-
template <class Archive>
void
TriaObjectsOrientations::serialize(Archive &ar, const unsigned int)