Point Cloud Library (PCL)
1.11.1
|
17 #if !defined(OPENNURBS_LAYER_INC_)
18 #define OPENNURBS_LAYER_INC_
166 per_viewport_none = 0,
169 per_viewport_color = 2,
170 per_viewport_plot_color = 4,
171 per_viewport_plot_weight = 8,
172 per_viewport_visible = 16,
173 per_viewport_persistent_visibility = 32,
175 per_viewport_all_settings = 0xFFFFFFFF
198 unsigned int settings_mask
229 ON_UUID destination_viewport_id
255 unsigned int settings_mask
281 int viewport_id_count,
282 const ON_UUID* viewport_id_list
839 no_layer_settings = 0,
840 userdata_settings = 1,
842 plot_color_settings = 4,
843 plot_weight_settings = 8,
844 visible_settings = 16,
845 locked_settings = 32,
846 all_layer_settings = 0xFFFFFFFF
868 void Set(
unsigned int settings,
const ON_Layer& settings_values );
934 unsigned char m_extension_bits;
bool SetRenderMaterialIndex(int)
bool HasPerViewportSettings(const ON_UUID &viewport_id) const
void SetVisible(bool bVisible)
bool IsVisibleAndNotLocked() const
bool PerViewportIsVisible(ON_UUID viewport_id) const
void SetPlotColor(ON_Color plot_color)
static bool GetLeafName(const wchar_t *layer_name, ON_wString &leaf_name)
void DeletePerViewportPlotColor(const ON_UUID &viewport_id)
bool PersistentLocking() const
bool PersistentVisibility() const
void DeletePerViewportVisible(const ON_UUID &viewport_id)
void SetPerViewportColor(ON_UUID viewport_id, ON_Color layer_color)
void DeletePerViewportColor(const ON_UUID &viewport_id)
ON_DEPRECATED void SetColor(ON_Color, const ON_UUID &)
ON_BOOL32 Write(ON_BinaryArchive &) const
bool CopyPerViewportSettings(ON_UUID source_viewport_id, ON_UUID destination_viewport_id)
ON_DEPRECATED ON_Color PlotColor(const ON_UUID &) const
void SetPlotWeight(double plot_weight_mm)
bool CopyPerViewportSettings(const ON_Layer &source_layer, ON_UUID viewport_id, unsigned int settings_mask)
static const wchar_t * LayerNameReferenceDelimiter()
void SetPersistentVisibility(bool bPersistentVisibility)
static bool GetReferenceName(const wchar_t *layer_name, ON_wString &reference_name)
int UpdateViewportIds(const ON_UuidPairList &viewport_id_map)
void SetPerViewportVisible(ON_UUID viewport_id, bool bVisible)
void DeletePerViewportPlotWeight(const ON_UUID &viewport_id)
void UnsetPersistentLocking()
void SetPerViewportPlotColor(ON_UUID viewport_id, ON_Color plot_color)
bool SetLayerName(const char *)
double PlotWeight() const
ON_Color PerViewportColor(ON_UUID viewport_id) const
ON_Color PlotColor() const
ON_UUID ModelObjectId() const
int LinetypeIndex() const
static unsigned int Differences(const ON_Layer &layer0, const ON_Layer &layer1)
bool PerViewportPersistentVisibility(ON_UUID viewport_id) const
void UnsetPerViewportPersistentVisibility(ON_UUID viewport_id)
void SetColor(ON_Color layer_color)
static bool RemoveReferenceName(const wchar_t *layer_name, ON_wString &layer_path_name)
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
ON_DEPRECATED double PlotWeight(const ON_UUID &) const
int RenderMaterialIndex() const
void CullPerViewportSettings(int viewport_id_count, const ON_UUID *viewport_id_list)
ON_BOOL32 Read(ON_BinaryArchive &)
ON_UUID m_display_material_id
static const wchar_t * LayerNamePathDelimiter()
bool GetSavedSettings(ON_Layer &layer, unsigned int &settings) const
void SetPersistentLocking(bool bPersistentLocking)
void GetPerViewportVisibilityViewportIds(ON_SimpleArray< ON_UUID > &viewport_id_list) const
ON_DEPRECATED ON_Color Color(const ON_UUID &) const
ON_Color PerViewportPlotColor(ON_UUID viewport_id) const
ON_DEPRECATED bool IsVisible(const ON_UUID &) const
void SaveSettings(unsigned int settings, bool bUpdate)
void Set(unsigned int settings, const ON_Layer &settings_values)
bool IsVisibleAndLocked() const
bool SetLinetypeIndex(int linetype_index)
const ON_wString & LayerName() const
void SetPerViewportPlotWeight(ON_UUID viewport_id, double plot_weight_mm)
ON_DEPRECATED void SetVisible(bool, const ON_UUID &)
void SetPerViewportPersistentVisibility(ON_UUID viewport_id, bool bPersistentVisibility)
double PerViewportPlotWeight(ON_UUID viewport_id) const
unsigned int SavedSettings() const
ON_DEPRECATED void SetPlotColor(ON_Color, const ON_UUID &)
ON_DEPRECATED void SetPlotWeight(double, const ON_UUID &)
bool HasPerViewportSettings(ON_UUID viewport_id, unsigned int settings_mask) const
ON_UUID m_parent_layer_id
void SetLocked(bool bLocked)
ON::object_type ObjectType() const
void DeletePerViewportSettings(const ON_UUID &viewport_id) const
ON_RenderingAttributes m_rendering_attributes
static bool GetParentName(const wchar_t *layer_name, ON_wString &parent_path_name)
bool SetLayerName(const wchar_t *)
void Dump(ON_TextLog &) const
void UnsetPersistentVisibility()
ON__UINT32 PerViewportSettingsCRC() const