|
ImagingTools Core SDK
|
#include <IScene3d.h>
Public Member Functions | |
| virtual void | SetCamera (IScene3dCamera *cameraPtr)=0 |
| virtual void | SetProjection (const QMatrix4x4 &projection)=0 |
| virtual void | SetViewPort (const QRect &viewPort)=0 |
| virtual imt3d::CCuboid | GetBoundingCuboid () const =0 |
| virtual QByteArrayList | GetShapeIds () const =0 |
| virtual imt3dview::IScene3dItem * | GetShapePtr (const QByteArray &id) const =0 |
| virtual QByteArray | AddShapeToScene (imt3dview::IScene3dItem *objectPtr, int shapeFlags=SF_NONE)=0 |
| virtual void | RemoveShapeFromScene (imt3dview::IScene3dItem *objectPtr)=0 |
Public Member Functions inherited from imt3dview::IDrawable | |
| virtual void | SetContext (QOpenGLContext *contextPtr)=0 |
| virtual void | DrawGl (QOpenGLShaderProgram &program)=0 |
| virtual void | Draw (QPainter &painter)=0 |
Common interface for a 3D-scene.
Definition at line 20 of file IScene3d.h.
|
pure virtual |
Add an 3D-shape to the scene.
|
pure virtual |
Get scene bounding cuboid.
|
pure virtual |
Get the list of shape IDs existing in the scene.
|
pure virtual |
Get a scene shape by ID.
|
pure virtual |
Remove an existing 3D-shape from the scene.
|
pure virtual |
Set scene camera.
|
pure virtual |
Set scene projection matrix.
|
pure virtual |
Set scene view port.