NDEVR
API Documentation
PolylineSliceIteratorabstract

Abstract interface for generating slice planes from a bounding region. More...

Inheritance diagram for PolylineSliceIterator:
[legend]

Public Member Functions

virtual void cleanupSlicePlanes (const Matrix< fltp08 > &, Buffer< SlicePlane > &)
 Post-processes slice planes after slicing is complete.
virtual Buffer< SlicePlaneslicePlanes (const Matrix< fltp08 > &transform, const Bounds< 3, fltp08 > &bounds)=0
 Generates the set of slice planes for the given transform and bounding volume.

Detailed Description

Abstract interface for generating slice planes from a bounding region.


Subclasses implement different strategies for producing slice planes (e.g., gridded spacing or along a polyline path).

Definition at line 56 of file PolylineSlicer.h.

Member Function Documentation

◆ cleanupSlicePlanes()

virtual void PolylineSliceIterator::cleanupSlicePlanes ( const Matrix< fltp08 > & ,
Buffer< SlicePlane > &  )
inlinevirtual

Post-processes slice planes after slicing is complete.

Default implementation does nothing. Subclasses can override to perform cleanup, reordering, or merging of slice results.

Parameters
[in]transformThe world-to-local transformation matrix used during slicing
[in]planesThe slice planes to clean up (modified in place)

Reimplemented in PathSliceIterator.

Definition at line 75 of file PolylineSlicer.h.

◆ slicePlanes()

virtual Buffer< SlicePlane > PolylineSliceIterator::slicePlanes ( const Matrix< fltp08 > & transform,
const Bounds< 3, fltp08 > & bounds )
pure virtual

Generates the set of slice planes for the given transform and bounding volume.

Parameters
[in]transformThe world-to-local transformation matrix
[in]boundsThe 3D bounding box of the data to be sliced
Returns
A buffer of SlicePlane objects defining where to cut the geometry

Implemented in GriddedSliceIterator, and PathSliceIterator.


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