Base: refactor InventorBuilder
This commit is contained in:
@@ -480,9 +480,9 @@ void MaterialBindingItem::write(InventorOutput& out) const
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
DrawStyleItem::DrawStyleItem(DrawStyle style) : style(style)
|
||||
void DrawStyleItem::setValue(DrawStyle value)
|
||||
{
|
||||
|
||||
style = value;
|
||||
}
|
||||
|
||||
void DrawStyleItem::write(InventorOutput& out) const
|
||||
@@ -511,9 +511,9 @@ void ShapeHintsItem::write(InventorOutput& out) const
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
PolygonOffsetItem::PolygonOffsetItem(PolygonOffset offset) : offset(offset)
|
||||
void PolygonOffsetItem::setValue(PolygonOffset value)
|
||||
{
|
||||
|
||||
offset = value;
|
||||
}
|
||||
|
||||
void PolygonOffsetItem::write(InventorOutput& out) const
|
||||
|
||||
@@ -325,7 +325,7 @@ private:
|
||||
class BaseExport DrawStyleItem : public NodeItem
|
||||
{
|
||||
public:
|
||||
explicit DrawStyleItem(DrawStyle style);
|
||||
void setValue(DrawStyle value);
|
||||
void write(InventorOutput& out) const override;
|
||||
|
||||
private:
|
||||
@@ -351,7 +351,7 @@ private:
|
||||
class BaseExport PolygonOffsetItem : public NodeItem
|
||||
{
|
||||
public:
|
||||
explicit PolygonOffsetItem(PolygonOffset offset);
|
||||
void setValue(PolygonOffset value);
|
||||
void write(InventorOutput& out) const override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user