PolygonReductionData Class Reference Library » Polygon Reduction

#include <lib_polygonreduction.h>

详细描述

Stores information required for polygon reduction.

由于
R19

公共成员函数

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

Public Attributes

BaseDocument _doc
PolygonObject _op
BaseThread _thread
BaseContainer   _settings

构造函数 & 析构函数文档编制

◆  PolygonReductionData() [1/2]

PolygonReductionData ( )
default

Default constructor.

◆  PolygonReductionData() [2/2]

PolygonReductionData ( BaseDocument doc ,
PolygonObject op ,
BaseThread thread  
)

Constructor.

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

◆  ~PolygonReductionData()

~ PolygonReductionData ( )

Destructor.

Member Data Documentation

◆  _doc

BaseDocument * _doc

The document. Must not be nullptr .

◆  _op

PolygonObject * _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 .