PolygonReductionData Class Reference

#include <lib_polygonreduction.h>

Detailed Description

Stores information required for polygon reduction.

Since
R19

Public Member Functions

 PolygonReductionData ()=default
 
 PolygonReductionData (BaseDocument *doc, PolygonObject *op, BaseThread *thread)
 
 ~PolygonReductionData ()
 

Public Attributes

BaseDocument_doc
 
PolygonObject_op
 
BaseThread_thread
 
BaseContainer _settings
 

Constructor & Destructor Documentation

◆ PolygonReductionData() [1/2]

PolygonReductionData ( )
default

Default constructor.

◆ PolygonReductionData() [2/2]

PolygonReductionData ( BaseDocument doc,
PolygonObject op,
BaseThread thread 
)

Constructor.

Parameters
[in]docThe document. Must not be nullptr. The caller owns the pointed BaseDocument.
[in]opThe polygon object to be reduced. The caller owns the pointed PolygonObject.
[in]threadThe caller thread. Set to nullptr if synchronous pre-processing calculation is needed (e.g. during rendering). The caller owns the pointed BaseThread.

◆ ~PolygonReductionData()

Destructor.

Member Data Documentation

◆ _doc

BaseDocument* _doc

The document. Must not be nullptr.

◆ _op

The polygon object to be reduced.

◆ _thread

BaseThread* _thread

The caller thread. Set to nullptr if synchronous pre-processing calculation is needed (e.g. during rendering).

◆ _settings

BaseContainer _settings

The reduction constraints settings. See opolyreduxgen.h.