|
Rhino C++ API
9.0
|
#include <opennurbs_worksession.h>
Public Member Functions | |
| ON_WorksessionLayerValues () | |
| ON_WorksessionLayerValues (const ON_WorksessionLayerValues &src) | |
| ~ON_WorksessionLayerValues () | |
| ON_Color | Color () const |
| const ON_Layer & | Layer () const |
| bool | Locked () const |
| ON_WorksessionLayerValues & | operator= (const ON_WorksessionLayerValues &src) |
| void | SetColor (ON_Color color) |
| void | SetLayer (const ON_Layer &layer) |
| void | SetLocked (bool bLocked) |
| void | SetVisible (bool bVisible) |
| bool | Visible () const |
| Defaults: visible, unlocked, black. More... | |
Friends | |
| class | ON_WorksessionFile_Private |
Copyright (c) 1993-2026 Robert McNeel & Associates. All rights reserved. OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert McNeel & Associates.
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.
For complete openNURBS copyright information see http://www.opennurbs.org. Description: Layer settings saved in a Rhino worksession (.rws) file.
| ON_WorksessionLayerValues::ON_WorksessionLayerValues | ( | ) |
| ON_WorksessionLayerValues::~ON_WorksessionLayerValues | ( | ) |
| ON_WorksessionLayerValues::ON_WorksessionLayerValues | ( | const ON_WorksessionLayerValues & | src | ) |
| ON_Color ON_WorksessionLayerValues::Color | ( | ) | const |
| const ON_Layer& ON_WorksessionLayerValues::Layer | ( | ) | const |
Returns: The rest of the layer's settings, saved by Rhino 9 and later. Reading an older file leaves this set to the default layer. Remarks: Rhino does not use this layer's id, and a layer saved without one gets a new id when it is read, as it does in a .3dm file.
| bool ON_WorksessionLayerValues::Locked | ( | ) | const |
| ON_WorksessionLayerValues& ON_WorksessionLayerValues::operator= | ( | const ON_WorksessionLayerValues & | src | ) |
| void ON_WorksessionLayerValues::SetColor | ( | ON_Color | color | ) |
| void ON_WorksessionLayerValues::SetLayer | ( | const ON_Layer & | layer | ) |
| void ON_WorksessionLayerValues::SetLocked | ( | bool | bLocked | ) |
| void ON_WorksessionLayerValues::SetVisible | ( | bool | bVisible | ) |
| bool ON_WorksessionLayerValues::Visible | ( | ) | const |
Defaults: visible, unlocked, black.
|
friend |
1.8.17