API Documentation
Loading...
Searching...
No Matches
GeometryPositionModRestore Class Reference

Class to easily restore calculated data in a Geometry after a location altering process. More...

#include <Geometry.h>

Collaboration diagram for GeometryPositionModRestore:
[legend]

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
 

Detailed Description

Class to easily restore calculated data in a Geometry after a location altering process.


autotoc_md834

Constructor & Destructor Documentation

◆ GeometryPositionModRestore() [1/2]

◆ GeometryPositionModRestore() [2/2]

GeometryPositionModRestore ( const Geometry & geo)
inlineexplicit

Member Function Documentation

◆ restoreAll()

void restoreAll ( const void * lock,
ProgressInfo * log = nullptr,
bool restore_tree = true,
bool restore_closed = true,
bool restore_normals = true,
bool restore_smooth = true )

◆ restoreClosed() [1/2]

void restoreClosed ( const void * lock,
ProgressInfo * log = nullptr )

◆ restoreClosed() [2/2]

void restoreClosed ( Geometry & geo,
const void * lock,
ProgressInfo * log = nullptr )
protected

◆ restoreNormals() [1/2]

void restoreNormals ( const void * lock,
ProgressInfo * log = nullptr )

◆ restoreNormals() [2/2]

void restoreNormals ( Geometry & geo,
const void * lock,
ProgressInfo * log = nullptr )
protected

◆ restoreSmooth()

void restoreSmooth ( const void * lock,
ProgressInfo * log = nullptr )

◆ store()

void store ( const Geometry & geo)

Member Data Documentation

◆ m_geo

Geometry m_geo
protected

◆ m_has_bitangent

bool m_has_bitangent = false
protected

◆ m_has_tangent

bool m_has_tangent = false
protected

◆ m_has_tree

bool m_has_tree[cast< uint04 >(PrimitiveProperty::Index_Property_Size)] = { false, false, false }
protected

◆ m_is_closed

bool m_is_closed = false
protected

◆ m_smoothing_algo

String m_smoothing_algo
protected

◆ m_smoothing_times

uint04 m_smoothing_times = 0U
protected

◆ normal_mode

NormalMode normal_mode = NormalMode::e_no_normals
protected

◆ smoothing_angle

fltp04 smoothing_angle = Constant<fltp04>::Invalid
protected

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