NDEVR
API Documentation
DesignWidget::PropertiesStruct

Aggregated rendering properties of the current selection, used to update UI controls. More...

Public Member Functions

bool operator!= (const PropertiesStruct &other) const
 Inequality comparison operator.
bool operator== (const PropertiesStruct &other) const
 Equality comparison operator.

Public Attributes

fltp08 avg_thickness = 0.0
 The weighted average line/point thickness.
bool can_fill_holes = false
 Whether any selected object has holes that can be filled.
bool can_fill_visible_holes = false
 Whether any visible object has holes that can be filled.
bool has_gridlines = false
 Whether any selected object has gridlines enabled.
bool has_lines = false
 Whether any selected object has line geometry.
bool has_mesh = false
 Whether any selected object has mesh geometry.
bool has_points = false
 Whether any selected object has point geometry.
bool has_solid = false
 Whether any selected object has solid geometry.
bool has_two_sided = false
 Whether any selected object has two-sided rendering enabled.
bool has_two_sided_option = false
 Whether any selected object supports the two-sided rendering option.
bool has_visible_filled = false
 Whether any visible object has filled geometry.
bool has_visible_lines = false
 Whether any visible object has line geometry.
bool has_visible_mesh = false
 Whether any visible object has mesh geometry.
bool has_visible_points = false
 Whether any visible object has point geometry.
bool has_visible_solid = false
 Whether any visible object has solid geometry.
bool has_wireframe = false
 Whether any selected object uses wireframe rendering.
bool holes_filled = false
 Whether holes in the selection have been filled.
fltp08 thickness_weight = 0.0
 The total weight for the thickness average.

Detailed Description

Aggregated rendering properties of the current selection, used to update UI controls.

Definition at line 66 of file DesignWidget.h.

Member Function Documentation

◆ operator!=()

bool DesignWidget::PropertiesStruct::operator!= ( const PropertiesStruct & other) const

Inequality comparison operator.

Parameters
[in]otherThe other PropertiesStruct to compare with.
Returns
True if any field differs.

◆ operator==()

bool DesignWidget::PropertiesStruct::operator== ( const PropertiesStruct & other) const

Equality comparison operator.

Parameters
[in]otherThe other PropertiesStruct to compare with.
Returns
True if all fields are equal.

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