hello,
Do I have the access to move the mesh in my plugin?
Move mesh in plugin
Re: Move mesh in plugin
Do you mean progamatically or interactively?
Programmatically: you have full access to the 3D entities classes as they are all in the qCC_db library (see ccHObject::applyGLTransformation in particular to apply a 4x4 transformation matrix).
Otherwise the interactive segmentation mode can be enabled or disabled with a single method call on the active 3D view (you can get it with ccMainAppInterface::getActiveGLWindow). You also have full access to the ccGLWindow class as it's part of the qCC_gl library. The method is ccGLWindow ::setInteractionMode and you have to connect to the 'rotation' signal (you can see how all this work in the ccGraphicalTransformationTool class of the main project).
Programmatically: you have full access to the 3D entities classes as they are all in the qCC_db library (see ccHObject::applyGLTransformation in particular to apply a 4x4 transformation matrix).
Otherwise the interactive segmentation mode can be enabled or disabled with a single method call on the active 3D view (you can get it with ccMainAppInterface::getActiveGLWindow). You also have full access to the ccGLWindow class as it's part of the qCC_gl library. The method is ccGLWindow ::setInteractionMode and you have to connect to the 'rotation' signal (you can see how all this work in the ccGraphicalTransformationTool class of the main project).
Daniel, CloudCompare admin