![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Generic Filters Tool interface. More...
#include <ecvGenericFiltersTool.h>
Public Types | |
| enum | FilterType { CLIP_FILTER, SLICE_FILTER, DECIMATE_FILTER, ISOSURFACE_FILTER, THRESHOLD_FILTER, SMOOTH_FILTER, PROBE_FILTER, STREAMLINE_FILTER, GLYPH_FILTER } |
Signals | |
| void | boxModified (const ccBBox *box) |
| Signal sent each time the box is modified. More... | |
Public Member Functions | |
| ecvGenericFiltersTool (FilterType mode=FilterType::CLIP_FILTER) | |
| Default constructor. More... | |
| virtual | ~ecvGenericFiltersTool ()=default |
| Desctructor. More... | |
| virtual void | showInteractor (bool state)=0 |
| virtual bool | setInputData (ccHObject *entity, int viewport=0)=0 |
| virtual void | unregisterFilter ()=0 |
| virtual void | intersectMode ()=0 |
| virtual void | unionMode ()=0 |
| virtual void | trimMode ()=0 |
| virtual void | resetMode ()=0 |
| virtual bool | start ()=0 |
| virtual void | reset ()=0 |
| virtual void | restore ()=0 |
| virtual void | clear ()=0 |
| virtual void | update () |
| virtual void | getOutput (std::vector< ccHObject * > &outputSlices, std::vector< ccPolyline * > &outputContours) const =0 |
| virtual ccHObject * | getOutput () const =0 |
| virtual void | setNegative (bool state)=0 |
| virtual void | showOutline (bool state)=0 |
| Whether to show the box or not. More... | |
| virtual QWidget * | getFilterWidget ()=0 |
| virtual const ccBBox & | getBox ()=0 |
| Returns the box extents. More... | |
| virtual void | setBox (const ccBBox &box)=0 |
| Sets the box extents. More... | |
| virtual void | shift (const CCVector3 &v)=0 |
| Shifts the current box. More... | |
| virtual void | set (const ccBBox &extents, const ccGLMatrix &transformation)=0 |
| Manually sets the box parameters. More... | |
| virtual void | get (ccBBox &extents, ccGLMatrix &transformation)=0 |
| FilterType | getFilterType () |
Protected Member Functions | |
| virtual bool | buildUp () |
| Builds primitive. More... | |
| virtual void | initialize (ecvGenericVisualizer3D *viewer=nullptr)=0 |
Protected Attributes | |
| bool | m_showOutline = false |
| ccBBox | m_box |
| FilterType | m_filterType |
| ccHObject * | m_associatedEntity |
Generic Filters Tool interface.
| ecvGenericFiltersTool::ecvGenericFiltersTool | ( | FilterType | mode = FilterType::CLIP_FILTER | ) |
Default constructor.
| mode | FilterType mode |
|
virtualdefault |
Desctructor.
|
signal |
Signal sent each time the box is modified.
|
inlineprotectedvirtual |
Builds primitive.
Transformation will be applied afterwards!
|
pure virtual |
Implemented in PclFiltersTool.
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::stop().
|
pure virtual |
|
inline |
Referenced by ecvFilterTool::setFilter().
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::setFilter(), and ecvFilterTool::stop().
|
pure virtual |
Implemented in PclFiltersTool.
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::getSlice().
|
protectedpure virtual |
Implemented in PclFiltersTool.
|
pure virtual |
Implemented in PclFiltersTool.
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::reset().
|
pure virtual |
Implemented in PclFiltersTool.
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::restoreOrigin().
|
pure virtual |
Manually sets the box parameters.
Implemented in PclFiltersTool.
|
pure virtual |
Sets the box extents.
Implemented in PclFiltersTool.
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::start().
|
pure virtual |
Implemented in PclFiltersTool.
|
pure virtual |
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::toggleInteractors().
|
pure virtual |
Whether to show the box or not.
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::start(), and ecvFilterTool::toggleBox().
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::start().
|
pure virtual |
Implemented in PclFiltersTool.
|
pure virtual |
Implemented in PclFiltersTool.
|
pure virtual |
Implemented in PclFiltersTool.
Referenced by ecvFilterTool::stop().
|
virtual |
References ecvDisplayTools::UpdateScreen().
Referenced by PclFiltersTool::areaPickingEventProcess(), PclFiltersTool::showInteractor(), and PclFiltersTool::unregisterFilter().
|
protected |
Referenced by PclFiltersTool::setInputData().
|
protected |
Referenced by PclFiltersTool::getBox(), and PclFiltersTool::setBox().
|
protected |
Referenced by PclFiltersTool::initialize().
|
protected |