![]() |
API Documentation
|
Class to easily restore calculated data in a Geometry after a location altering process. More...
#include <Geometry.h>
Public Member Functions | |
| GeometryPositionModRestore () | |
| GeometryPositionModRestore (const Geometry &geo) | |
| void | restoreAll (const void *lock, ProgressInfo *log=nullptr, bool restore_tree=true, bool restore_closed=true, bool restore_normals=true, bool restore_smooth=true) |
| void | restoreClosed (const void *lock, ProgressInfo *log=nullptr) |
| void | restoreNormals (const void *lock, ProgressInfo *log=nullptr) |
| void | restoreSmooth (const void *lock, ProgressInfo *log=nullptr) |
| void | store (const Geometry &geo) |
Protected Member Functions | |
| void | restoreClosed (Geometry &geo, const void *lock, ProgressInfo *log=nullptr) |
| void | restoreNormals (Geometry &geo, const void *lock, ProgressInfo *log=nullptr) |
Protected Attributes | |
| Geometry | m_geo |
| bool | m_has_bitangent = false |
| bool | m_has_tangent = false |
| bool | m_has_tree [cast< uint04 >(PrimitiveProperty::Index_Property_Size)] = { false, false, false } |
| bool | m_is_closed = false |
| String | m_smoothing_algo |
| uint04 | m_smoothing_times = 0U |
| NormalMode | normal_mode = NormalMode::e_no_normals |
| fltp04 | smoothing_angle = Constant<fltp04>::Invalid |
Class to easily restore calculated data in a Geometry after a location altering process.
|
inline |
|
inlineexplicit |
| void restoreAll | ( | const void * | lock, |
| ProgressInfo * | log = nullptr, | ||
| bool | restore_tree = true, | ||
| bool | restore_closed = true, | ||
| bool | restore_normals = true, | ||
| bool | restore_smooth = true ) |
| void restoreClosed | ( | const void * | lock, |
| ProgressInfo * | log = nullptr ) |
|
protected |
| void restoreNormals | ( | const void * | lock, |
| ProgressInfo * | log = nullptr ) |
|
protected |
| void restoreSmooth | ( | const void * | lock, |
| ProgressInfo * | log = nullptr ) |
| void store | ( | const Geometry & | geo | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |