class DataResultVisibility : public RefCountedObject
Visibility result for all parts in the geometry for one data state.
The DataResultVisibility holds a collection of DataPartVisibility objects, each containing an array of boolean values defining if an element is visible or not.
The number of parts in the result visibility and in the geometry must be the same (similar to scalars, as shown below). The number of result values in each visibility part must match the number of elements in the part.
with the requested index.
All parts can be removed usingremoveAllParts().
To use the visibility result, use the ModelSpec::setVisibilityResult() method.
Note! The class is reference counted and can be shared between multiple result groups. Remember that since this object is reference counted it should never be created on the stack.
Constructs an empty object.
size_t partCount() const
Returns number of parts in this visibility result.
void addPart(DataPartVisibility *part)
Adds a visibility part to the result visibility.
Number of parts must match the number of parts in the corresponding geometry.
Removes all visibility parts.