35 bool addAssociatedEntity(
ccHObject* associatedEntity);
40 void releaseAssociatedEntities();
46 bool move2D(
int x,
int y,
int dx,
int dy,
int screenWidth,
int screenHeight)
51 void setClickedPoint(
int x,
79 void setActiveComponent(
int id);
90 inline void showBox(
bool state) { m_showBox = state; }
93 void setBox(
const ccBBox& box);
106 bool shrink =
false)
const;
135 void releaseAllInterators();
136 void hideShowAllInterators(
bool visibility);
138 void getInteractorIds(QStringList& removeViewIds);
float PointCoordinateType
Type of the coordinates of a (N-D) point.
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
const ccBBox & getBox() const
Returns the box extents.
ccGLMatrixd m_viewMatrix
View matrix.
ccHObject m_entityContainer
Associated entities container.
void showBox(bool state)
Whether to show the box or not.
CCVector3d m_lastOrientation
Last "orientation" vector (corresponding to last clicked point)
void boxModified(const ccBBox *box)
Signal sent each time the box is modified.
ccBBox m_box
Clipping box.
Components m_activeComponent
Active component.
CV_CLASS_ENUM getClassID() const override
Returns class ID.
const ccHObject & getContainer() const
Associated entity container.
Float version of ccGLMatrixTpl.
Double version of ccGLMatrixTpl.
A 3D cloud interface with associated features (color, normals, octree, etc.)
std::vector< unsigned char > VisibilityTableType
Array of "visibility" information for each point.
Hierarchical CLOUDVIEWER Object.
virtual void drawMeOnly(CC_DRAW_CONTEXT &context)
Draws the entity only (not its children)
virtual ccBBox getOwnBB(bool withGLFeatures=false)
Returns the entity's own bounding-box.
Interactor interface (entity that can be dragged or clicked in a 3D view)
virtual bool move3D(const CCVector3d &u)
Called on mouse move (for 3D interactors)
virtual bool move2D(int x, int y, int dx, int dy, int screenWidth, int screenHeight)
Called on mouse move (for 2D interactors)