Blender V4.3
blender::index_mask::EvaluatedSegment Struct Reference

Public Types

enum class  Type { Full , Copy , Indices }
 

Public Attributes

Type type = Type::Indices
 
IndexRange bounds
 
const IndexMaskcopy_mask = nullptr
 
IndexMaskSegment indices
 

Detailed Description

Result of the expression evaluation within a specific index range. Sometimes this can be derived directly from the coarse evaluation, but sometimes an additional exact evaluation is necessary.

Definition at line 80 of file index_mask_expression.cc.

Member Enumeration Documentation

◆ Type

Enumerator
Full 

All indices in this segment are part of the evaluated index mask.

Copy 

The result in this segment is the same as what is contained in the copy_mask below.

Indices 

The result comes from exact evaluation and is a new set of indices.

Definition at line 81 of file index_mask_expression.cc.

Member Data Documentation

◆ bounds

IndexRange blender::index_mask::EvaluatedSegment::bounds

◆ copy_mask

const IndexMask* blender::index_mask::EvaluatedSegment::copy_mask = nullptr

Only used when the type is Type::Copy.

Definition at line 93 of file index_mask_expression.cc.

Referenced by blender::index_mask::evaluated_segments_to_index_mask().

◆ indices

IndexMaskSegment blender::index_mask::EvaluatedSegment::indices

Only used when the type is Type::Indices.

Definition at line 95 of file index_mask_expression.cc.

Referenced by blender::index_mask::evaluated_segments_to_index_mask().

◆ type

Type blender::index_mask::EvaluatedSegment::type = Type::Indices

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