![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Interface for a planar entity. More...
#include <ecvPlanarEntityInterface.h>

Public Member Functions | |
| ccPlanarEntityInterface () | |
| Default constructor. More... | |
| ccPlanarEntityInterface (unsigned int id) | |
| void | showNormalVector (bool state) |
| Show normal vector. More... | |
| bool | normalVectorIsShown () const |
| Whether normal vector is shown or not. More... | |
| virtual CCVector3 | getNormal () const =0 |
| Returns the entity normal. More... | |
| void | glDrawNormal (CC_DRAW_CONTEXT &context, const CCVector3 &pos, float scale, const ecvColor::Rgb *color=0) |
| Draws a normal vector (OpenGL) More... | |
| void | clearNormalVector (CC_DRAW_CONTEXT &context) |
Protected Attributes | |
| bool | m_showNormalVector |
| Whether the facet normal vector should be displayed or not. More... | |
| unsigned int | m_uniqueId |
| QString | m_bodyId |
| QString | m_headId |
Interface for a planar entity.
Definition at line 18 of file ecvPlanarEntityInterface.h.
| ccPlanarEntityInterface::ccPlanarEntityInterface | ( | ) |
Default constructor.
| ccPlanarEntityInterface::ccPlanarEntityInterface | ( | unsigned int | id | ) |
| void ccPlanarEntityInterface::clearNormalVector | ( | CC_DRAW_CONTEXT & | context | ) |
|
pure virtual |
Returns the entity normal.
Implemented in PyPlanarEntityInterface< GenericPlanarEntityInterface >, ccPlane, and ccFacet.
Referenced by define_ccPlane(), and ccPropertiesTreeDelegate::fillWithPlanarEntity().
| void ccPlanarEntityInterface::glDrawNormal | ( | CC_DRAW_CONTEXT & | context, |
| const CCVector3 & | pos, | ||
| float | scale, | ||
| const ecvColor::Rgb * | color = 0 |
||
| ) |
Draws a normal vector (OpenGL)
|
inline |
Whether normal vector is shown or not.
Definition at line 27 of file ecvPlanarEntityInterface.h.
References m_showNormalVector.
Referenced by define_ccPlane(), and ccPropertiesTreeDelegate::fillWithPlanarEntity().
|
inline |
Show normal vector.
Definition at line 25 of file ecvPlanarEntityInterface.h.
References m_showNormalVector.
Referenced by ccFitPlane::ccFitPlane(), qFacets::createFacets(), define_ccPlane(), RDBFilter::loadFile(), and ccCompass::recurseNormals().
|
protected |
Definition at line 45 of file ecvPlanarEntityInterface.h.
|
protected |
Definition at line 46 of file ecvPlanarEntityInterface.h.
|
protected |
Whether the facet normal vector should be displayed or not.
Definition at line 42 of file ecvPlanarEntityInterface.h.
Referenced by normalVectorIsShown(), and showNormalVector().
|
protected |
Definition at line 43 of file ecvPlanarEntityInterface.h.