ArcGIS Procedural Runtime  3.2.10650
List of all members | Static Public Member Functions
prtx::SelectedShapesIterator Class Reference

#include <ShapeIterator.h>

Inheritance diagram for prtx::SelectedShapesIterator:
[legend]

Static Public Member Functions

static SelectedShapesIteratorPtr create (GenerateContext &context, size_t initialShapeIndex, const std::vector< int32_t > &selectedShapes)
 

Additional Inherited Members

- Public Member Functions inherited from prtx::ShapeIterator
virtual ShapePtr getNext ()=0
 

Detailed Description

Generates a shape tree and traverses the selected set of shapes. Shapes can be selected by their IDs. Generating an InitialShape more than once is guaranteed to result the same shape tree with the same shape IDs if the OcclusionSet was not changed in-between the prt::generate() calls and no internal multithreading is used.

Member Function Documentation

◆ create()

static SelectedShapesIteratorPtr prtx::SelectedShapesIterator::create ( GenerateContext context,
size_t  initialShapeIndex,
const std::vector< int32_t > &  selectedShapes 
)
static

Creates an instance of a BreadthFirstIteratorPtr.

Parameters
contextGenerateContext to use.
initialShapeIndexIndex of the InitialShape in the context to use as start shape.
selectedShapesIDs of the shapes to extract.

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