![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ecvDisplayTools.h>


Classes | |
| struct | CaptureModeOptions |
| Display capturing mode options. More... | |
| struct | ClickableItem |
| Clickable item. More... | |
| struct | HotZone |
| Precomputed stuff for the 'hot zone'. More... | |
| struct | MessageToDisplay |
| Temporary Message to display in the lower-left corner. More... | |
| struct | PickingParameters |
| Picking parameters. More... | |
| struct | ProjectionMetrics |
| Optional output metrics (from computeProjectionMatrix) More... | |
Public Slots | |
| void | onItemPickedFast (ccHObject *pickedEntity, int pickedItemIndex, int x, int y) |
| Reacts to the itemPickedFast signal. More... | |
| void | onPointPicking (const CCVector3 &p, int index, const std::string &id) |
| void | checkScheduledRedraw () |
| Checks for scheduled redraw. More... | |
| void | doPicking () |
| void | onWheelEvent (float wheelDelta_deg) |
Signals | |
| void | entitySelectionChanged (ccHObject *entity) |
| Signal emitted when an entity is selected in the 3D view. More... | |
| void | entitiesSelectionChanged (std::unordered_set< int > entIDs) |
| Signal emitted when multiple entities are selected in the 3D view. More... | |
| void | itemPicked (ccHObject *entity, unsigned subEntityID, int x, int y, const CCVector3 &P) |
| Signal emitted when a point (or a triangle) is picked. More... | |
| void | itemPickedFast (ccHObject *entity, int subEntityID, int x, int y) |
| Signal emitted when an item is picked (FAST_PICKING mode only) More... | |
| void | fastPickingFinished () |
| Signal emitted when fast picking is finished (FAST_PICKING mode only) More... | |
| void | viewMatRotated (const ccGLMatrixd &rotMat) |
| void | cameraDisplaced (float ddx, float ddy) |
| Signal emitted when the camera is interactively displaced. More... | |
| void | mouseWheelRotated (float wheelDelta_deg) |
| Signal emitted when the mouse wheel is rotated. More... | |
| void | mouseWheelChanged (QWheelEvent *event) |
| void | perspectiveStateChanged () |
| void | baseViewMatChanged (const ccGLMatrixd &newViewMat) |
| Signal emitted when the window 'base view' matrix is changed. More... | |
| void | pixelSizeChanged (float pixelSize) |
| Signal emitted when the pixel size is changed. More... | |
| void | fovChanged (float fov) |
| Signal emitted when the f.o.v. changes. More... | |
| void | zNearCoefChanged (float coef) |
| Signal emitted when the zNear coef changes. More... | |
| void | pivotPointChanged (const CCVector3d &) |
| Signal emitted when the pivot point is changed. More... | |
| void | cameraPosChanged (const CCVector3d &) |
| Signal emitted when the camera position is changed. More... | |
| void | translation (const CCVector3d &t) |
| Signal emitted when the selected object is translated by the user. More... | |
| void | rotation (const ccGLMatrixd &rotMat) |
| Signal emitted when the selected object is rotated by the user. More... | |
| void | leftButtonClicked (int x, int y) |
| Signal emitted when the left mouse button is cliked on the window. More... | |
| void | rightButtonClicked (int x, int y) |
| Signal emitted when the right mouse button is cliked on the window. More... | |
| void | doubleButtonClicked (int x, int y) |
| Signal emitted when the double mouse button is cliked on the window. More... | |
| void | mouseMoved (int x, int y, Qt::MouseButtons buttons) |
| Signal emitted when the mouse is moved. More... | |
| void | buttonReleased () |
| Signal emitted when a mouse button is released (cursor on the window) More... | |
| void | drawing3D () |
| Signal emitted during 3D pass of OpenGL display process. More... | |
| void | filesDropped (const QStringList &filenames, bool displayDialog) |
| Signal emitted when files are dropped on the window. More... | |
| void | newLabel (ccHObject *obj) |
| Signal emitted when a new label is created. More... | |
| void | exclusiveFullScreenToggled (bool exclusive) |
| Signal emitted when the exclusive fullscreen is toggled. More... | |
| void | autoPickPivot (bool state) |
| void | labelmove2D (int x, int y, int dx, int dy) |
| void | mousePosChanged (const QPoint &pos) |
| void | pointPicked (double x, double y, double z) |
| void | cameraParamChanged () |
Public Member Functions | |
| virtual | ~ecvDisplayTools () override |
| Destructor. More... | |
| void | scheduleFullRedraw (unsigned maxDelay_ms) |
| Schedules a full redraw. More... | |
| void | cancelScheduledRedraw () |
| Cancels any scheduled redraw. More... | |
| virtual void | displayText (const CC_DRAW_CONTEXT &CONTEXT) |
| virtual void | draw (const CC_DRAW_CONTEXT &context, const ccHObject *obj) |
| virtual void | updateMeshTextures (const CC_DRAW_CONTEXT &context, const ccGenericMesh *mesh) |
| virtual void | drawBBox (const CC_DRAW_CONTEXT &context, const ccBBox *bbox) |
| virtual void | drawOrientedBBox (const CC_DRAW_CONTEXT &context, const ecvOrientedBBox *obb) |
| virtual void | changeEntityProperties (PROPERTY_PARAM &propertyParam) |
| virtual void | drawWidgets (const WIDGETS_PARAMETER ¶m) |
| virtual void | drawCoordinates (double scale=1.0, const std::string &id="reference", int viewport=0) |
| virtual void | rotateWithAxis (const CCVector2i &pos, const CCVector3d &axis, double angle, int viewport=0) |
| virtual void | toggleOrientationMarker (bool state=true) |
| virtual bool | orientationMarkerShown () |
| virtual void | setDataAxesGridProperties (const QString &viewID, const AxesGridProperties &props, int viewport=0) |
| Set Data Axes Grid properties (Virtual interface for derived classes) More... | |
| virtual void | getDataAxesGridProperties (const QString &viewID, AxesGridProperties &props, int viewport=0) const |
| Get Data Axes Grid properties (Virtual interface for derived classes) More... | |
| virtual void | setViewAxesGridVisible (bool visible, int viewport=0) |
| virtual void | setViewAxesGridProperties (bool visible, const CCVector3 &color, double lineWidth, double spacing, int subdivisions, bool showLabels, double opacity, int viewport=0) |
| virtual void | getViewAxesGridProperties (bool &visible, CCVector3 &color, double &lineWidth, double &spacing, int &subdivisions, bool &showLabels, double &opacity, int viewport=0) const |
| Get view axes grid properties. More... | |
| virtual void | setCenterAxesVisible (bool visible, int viewport=0) |
| virtual void | toggleCameraOrientationWidget (bool show) |
| virtual bool | isCameraOrientationWidgetShown () const |
| virtual void | setLightIntensity (double intensity) |
| virtual double | getLightIntensity () const |
| virtual ecvGenericVisualizer3D * | getVisualizer3D () |
| virtual ecvGenericVisualizer2D * | getVisualizer2D () |
| virtual void | transformCameraView (const ccGLMatrixd &viewMat) |
| virtual void | transformCameraProjection (const ccGLMatrixd &projMat) |
| virtual void | setRenderWindowSize (int xw, int yw) |
| virtual void | fullScreen (bool state) |
| virtual void | zoomCamera (double zoomFactor, int viewport=0) |
| virtual double | getCameraFocalDistance (int viewport=0) |
| virtual void | setCameraFocalDistance (double focal_distance, int viewport=0) |
| virtual void | getCameraPos (double *pos, int viewport=0) |
| virtual void | getCameraFocal (double *focal, int viewport=0) |
| virtual void | getCameraUp (double *up, int viewport=0) |
| virtual void | setCameraPosition (const CCVector3d &pos, int viewport=0) |
| virtual void | setCameraPosition (const double *pos, const double *focal, const double *up, int viewport=0) |
| virtual void | setCameraPosition (const double *pos, const double *up, int viewport=0) |
| virtual void | setCameraPosition (double pos_x, double pos_y, double pos_z, double view_x, double view_y, double view_z, double up_x, double up_y, double up_z, int viewport=0) |
| virtual void | getCameraClip (double *clipPlanes, int viewport=0) |
| virtual void | setCameraClip (double znear, double zfar, int viewport=0) |
| virtual void | resetCameraClippingRange (int viewport=0) |
| virtual double | getCameraFovy (int viewport=0) |
| virtual void | setCameraFovy (double fovy, int viewport=0) |
| virtual void | saveScreenshot (const std::string &file) |
| virtual void | saveCameraParameters (const std::string &file) |
| virtual void | loadCameraParameters (const std::string &file) |
| virtual void | showOrientationMarker () |
| virtual void | setOrthoProjection (int viewport=0) |
| virtual void | setPerspectiveProjection (int viewport=0) |
| virtual void | setUseVbos (bool useVbos) |
| virtual void | setLookUpTableID (const std::string &viewID) |
| virtual void | getProjectionMatrix (double *projArray, int viewport=0) |
| virtual void | getViewMatrix (double *viewArray, int viewport=0) |
| virtual void | setViewMatrix (const ccGLMatrixd &viewMat, int viewport=0) |
| virtual bool | hideShowEntities (const CC_DRAW_CONTEXT &CONTEXT) |
| virtual void | removeEntities (const CC_DRAW_CONTEXT &CONTEXT) |
| virtual QString | pick2DLabel (int x, int y) |
| virtual QString | pick3DItem (int x=-1, int y=-1) |
| virtual QString | pickObject (double x=-1, double y=-1) |
| virtual void | setBackgroundColor (const CC_DRAW_CONTEXT &CONTEXT) |
| virtual void | createViewPort (double xmin, double ymin, double xmax, double ymax, int &viewport) |
| virtual void | resetCameraViewpoint (const std::string &viewID) |
| virtual void | toggle2Dviewer (bool state) |
| virtual void | resetCamera (const ccBBox *bbox) |
| virtual void | resetCamera () |
| virtual void | updateCamera () |
| virtual void | updateScene () |
| virtual void | setAutoUpateCameraPos (bool state) |
| virtual void | getCenterOfRotation (double center[3]) |
| virtual void | resetCenterOfRotation (int viewport=0) |
| virtual void | setCenterOfRotation (double x, double y, double z) |
| virtual double | getGLDepth (int x, int y) |
| virtual void | changeOpacity (double opacity, const std::string &viewID, int viewport=0) |
| virtual QImage | renderToImage (int zoomFactor=1, bool renderOverlayItems=false, bool silent=false, int viewport=0) |
| virtual void | setScaleBarVisible (bool visible) |
| virtual void | toggleExclusiveFullScreen (bool state) |
| virtual bool | getPerspectiveState (int viewport=0) const override |
| virtual void | setPivotVisibility (bool state) |
| virtual double | getParallelScale (int viewport=0) |
| virtual void | setParallelScale (double scale, int viewport=0) |
Public Member Functions inherited from ecvGenericDisplayTools | |
| virtual | ~ecvGenericDisplayTools () |
| Default destructor. More... | |
| virtual void | toWorldPoint (const CCVector3d &input2D, CCVector3d &output3D) |
| virtual void | toWorldPoint (const CCVector3 &input2D, CCVector3d &output3D) |
| virtual void | toDisplayPoint (const CCVector3d &input3D, CCVector3d &output2D) |
| virtual void | toDisplayPoint (const CCVector3 &input3D, CCVector3d &output2D) |
Static Public Member Functions | |
| static void | Init (ecvDisplayTools *displayTools, QMainWindow *win, bool stereoMode=false) |
| static ecvDisplayTools * | TheInstance () |
| static void | ReleaseInstance () |
| static INTERACTION_FLAGS | PAN_ONLY () |
| static INTERACTION_FLAGS | TRANSFORM_CAMERA () |
| static INTERACTION_FLAGS | TRANSFORM_ENTITIES () |
| static void | DisplayText (const QString &text, int x, int y, unsigned char align=ALIGN_DEFAULT, float bkgAlpha=0.0f, const unsigned char *rgbColor=nullptr, const QFont *font=nullptr, const QString &id="") |
| Displays a string at a given 2D position. More... | |
| static void | DisplayText (const CC_DRAW_CONTEXT &CONTEXT) |
| static void | Display3DLabel (const QString &str, const CCVector3 &pos3D, const ecvColor::Rgbub *color=nullptr, const QFont &font=QFont()) |
| Displays a string at a given 3D position. More... | |
| static void | SetFocusToScreen () |
| Draws the main 3D layer. More... | |
| static void | ToBeRefreshed () |
| static void | RefreshDisplay (bool only2D=false, bool forceRedraw=true) |
| static void | RedrawDisplay (bool only2D=false, bool forceRedraw=true) |
| static void | CheckIfRemove () |
| static void | Draw (const CC_DRAW_CONTEXT &context, const ccHObject *obj) |
| static void | UpdateMeshTextures (const CC_DRAW_CONTEXT &context, const ccGenericMesh *mesh) |
| static void | DrawBBox (const CC_DRAW_CONTEXT &context, const ccBBox *bbox) |
| static void | DrawOrientedBBox (const CC_DRAW_CONTEXT &context, const ecvOrientedBBox *obb) |
| static void | RemoveBB (CC_DRAW_CONTEXT context) |
| static void | RemoveBB (const QString &viewId) |
| static void | ChangeEntityProperties (PROPERTY_PARAM &propertyParam, bool autoUpdate=true) |
| static void | DrawWidgets (const WIDGETS_PARAMETER ¶m, bool update=false) |
| static void | RemoveWidgets (const WIDGETS_PARAMETER ¶m, bool update=false) |
| static void | RemoveAllWidgets (bool update=true) |
| static void | Remove3DLabel (const QString &view_id) |
| static void | DrawCoordinates (double scale=1.0, const std::string &id="reference", int viewport=0) |
| static void | RotateWithAxis (const CCVector2i &pos, const CCVector3d &axis, double angle, int viewport=0) |
| static void | ToggleOrientationMarker (bool state=true) |
| static bool | OrientationMarkerShown () |
| static void | SetDataAxesGridProperties (const QString &viewID, const AxesGridProperties &props, int viewport=0) |
| Set Data Axes Grid properties (Unified Interface) Each ccHObject has its own Data Axes Grid bound to its viewID. More... | |
| static void | GetDataAxesGridProperties (const QString &viewID, AxesGridProperties &props, int viewport=0) |
| Get Data Axes Grid properties (Unified Interface) More... | |
| static void | SetViewAxesGridVisible (bool visible, int viewport=0) |
| Enable/disable view axes grid (aligned with camera/view) More... | |
| static void | SetViewAxesGridProperties (bool visible, const CCVector3 &color, double lineWidth, double spacing, int subdivisions, bool showLabels, double opacity, int viewport=0) |
| Configure view axes grid properties. More... | |
| static void | SetCenterAxesVisible (bool visible, int viewport=0) |
| Enable/disable center axes visualization. More... | |
| static void | ToggleCameraOrientationWidget (bool show) |
| static bool | IsCameraOrientationWidgetShown () |
| Check if Camera Orientation Widget is shown. More... | |
| static void | SetLightIntensity (double intensity) |
| static double | GetLightIntensity () |
| static ecvGenericVisualizer3D * | GetVisualizer3D () |
| static ecvGenericVisualizer2D * | GetVisualizer2D () |
| static QWidget * | GetCurrentScreen () |
| static void | SetCurrentScreen (QWidget *widget) |
| static QWidget * | GetMainScreen () |
| static void | SetMainScreen (QWidget *widget) |
| static QMainWindow * | GetMainWindow () |
| static void | SetMainWindow (QMainWindow *win) |
| static QPointF | ToCenteredGLCoordinates (int x, int y) |
| static CCVector3d | ToVtkCoordinates (int x, int y, int z=0) |
| static void | ToVtkCoordinates (CCVector3d &sP) |
| static void | ToVtkCoordinates (CCVector2i &sP) |
| static ccHObject * | GetOwnDB () |
| Returns window own DB. More... | |
| static void | AddToOwnDB (ccHObject *obj, bool noDependency=true) |
| Adds an entity to window own DB. More... | |
| static void | RemoveFromOwnDB (ccHObject *obj) |
| Removes an entity from window own DB. More... | |
| static void | SetSceneDB (ccHObject *root) |
| static ccHObject * | GetSceneDB () |
| static void | UpdateNamePoseRecursive () |
| static void | SetRedrawRecursive (bool redraw=false) |
| static void | SetRedrawRecursive (ccHObject *obj, bool redraw=false) |
| static void | GetVisibleObjectsBB (ccBBox &box) |
| Returns the visible objects bounding-box. More... | |
| static void | RotateBaseViewMat (const ccGLMatrixd &rotMat) |
| Rotates the base view matrix. More... | |
| static ccGLMatrixd & | GetBaseViewMat () |
| static void | SetBaseViewMat (ccGLMatrixd &mat) |
| static void | SetRemoveViewIDs (std::vector< removeInfo > &removeinfos) |
| static void | SetRemoveAllFlag (bool state) |
| static void | TransformCameraView (const ccGLMatrixd &viewMat) |
| static void | TransformCameraProjection (const ccGLMatrixd &projMat) |
| static int | GetDevicePixelRatio () |
| static int | GetOptimizedFontSize (int baseFontSize=12) |
| static double | GetPlatformAwareDPIScale () |
| static QRect | GetScreenRect () |
| static void | SetScreenSize (int xw, int yw) |
| static void | DoResize (int xw, int yw) |
| static void | DoResize (const QSize &size) |
| static QSize | GetScreenSize () |
| static void | SetRenderWindowSize (int xw, int yw) |
| static void | FullScreen (bool state) |
| static void | ZoomCamera (double zoomFactor, int viewport=0) |
| static double | GetCameraFocalDistance (int viewport=0) |
| static void | SetCameraFocalDistance (double focal_distance, int viewport=0) |
| static void | GetCameraPos (double *pos, int viewport=0) |
| static void | GetCameraFocal (double *focal, int viewport=0) |
| static void | GetCameraUp (double *up, int viewport=0) |
| static void | SetCameraPosition (const CCVector3d &pos, int viewport=0) |
| static void | SetCameraPosition (const double *pos, const double *focal, const double *up, int viewport=0) |
| static void | SetCameraPosition (const double *pos, const double *up, int viewport=0) |
| static void | SetCameraPosition (double pos_x, double pos_y, double pos_z, double view_x, double view_y, double view_z, double up_x, double up_y, double up_z, int viewport=0) |
| static void | GetCameraClip (double *clipPlanes, int viewport=0) |
| static void | SetCameraClip (double znear, double zfar, int viewport=0) |
| static void | ResetCameraClippingRange (int viewport=0) |
| static double | GetCameraFovy (int viewport=0) |
| static void | SetCameraFovy (double fovy, int viewport=0) |
| static void | GetViewerPos (int *viewPos, int viewport=0) |
| static void | SaveScreenshot (const std::string &file) |
| Save the current rendered image to disk, as a PNG screenshot. More... | |
| static void | SaveCameraParameters (const std::string &file) |
| Save or Load the current rendered camera parameters to disk or current camera. More... | |
| static void | LoadCameraParameters (const std::string &file) |
| static void | ShowOrientationMarker () |
| static void | SetOrthoProjection (int viewport=0) |
| static void | SetPerspectiveProjection (int viewport=0) |
| static void | SetUseVbos (bool useVbos) |
| Use Vertex Buffer Objects renderers. This is an optimization for the obsolete OpenGL backend. Modern OpenGL2 backend (VTK \A1\DD 6.3) uses vertex buffer objects by default, transparently for the user. More... | |
| static void | SetLookUpTableID (const std::string &viewID) |
| Set the ID of a cloud or shape to be used for LUT display. More... | |
| static void | GetProjectionMatrix (double *projArray, int viewport=0) |
| static void | GetViewMatrix (double *viewArray, int viewport=0) |
| static void | SetViewMatrix (const ccGLMatrixd &viewMat, int viewport=0) |
| static bool | HideShowEntities (const ccHObject *obj, bool visible) |
| static bool | HideShowEntities (const CC_DRAW_CONTEXT &CONTEXT) |
| static void | HideShowEntities (const QStringList &viewIDs, ENTITY_TYPE hideShowEntityType, bool visibility=false) |
| static void | RemoveEntities (const ccHObject *obj) |
| static void | RemoveEntities (const QStringList &viewIDs, ENTITY_TYPE removeEntityType) |
| static void | RemoveEntities (const CC_DRAW_CONTEXT &CONTEXT) |
| static void | DrawBackground (CC_DRAW_CONTEXT &CONTEXT) |
| static void | DrawForeground (CC_DRAW_CONTEXT &CONTEXT) |
| static void | Update2DLabel (bool immediateUpdate=false) |
| static void | Pick2DLabel (int x, int y) |
| static void | Redraw2DLabel () |
| static QString | Pick3DItem (int x=-1, int y=-1) |
| static QString | PickObject (double x=-1, double y=-1) |
| static void | FilterByEntityType (ccHObject::Container &labels, CV_CLASS_ENUM type) |
| static void | CreateViewPort (double xmin, double ymin, double xmax, double ymax, int &viewport) |
| Create a new viewport from [xmin,ymin] -> [xmax,ymax]. More... | |
| static void | ResetCameraViewpoint (const std::string &viewID) |
| static void | SetPointSize (float size, bool silent=false, int viewport=0) |
| static void | SetPointSizeRecursive (int size) |
| static void | SetLineWidth (float width, bool silent=false, int viewport=0) |
| Sets line width. More... | |
| static void | SetLineWithRecursive (PointCoordinateType with) |
| static void | Toggle2Dviewer (bool state) |
| static void | DisplayNewMessage (const QString &message, MessagePosition pos, bool append=false, int displayMaxDelay_sec=2, MessageType type=CUSTOM_MESSAGE) |
| Displays a status message in the bottom-left corner. More... | |
| static const ecvGui::ParamStruct & | GetDisplayParameters () |
| Returns current parameters for this display (const version) More... | |
| static void | SetDisplayParameters (const ecvGui::ParamStruct ¶ms) |
| Sets current parameters for this display. More... | |
| static void | UpdateDisplayParameters () |
| static void | SetupProjectiveViewport (const ccGLMatrixd &cameraMatrix, float fov_deg=0.0f, float ar=1.0f, bool viewerBasedPerspective=true, bool bubbleViewMode=false) |
| static void | SetAspectRatio (float ar) |
| Sets current camera aspect ratio (width/height) More... | |
| static void | ResizeGL (int w, int h) |
| Sets current zoom. More... | |
| static void | UpdateScreenSize () |
| static void | Update () |
| static void | UpdateScreen () |
| static void | ResetCamera (const ccBBox *bbox) |
| static void | ResetCamera () |
| static void | UpdateCamera () |
| static void | UpdateScene () |
| static void | SetAutoUpateCameraPos (bool state) |
| static void | GetCenterOfRotation (double center[3]) |
| static void | GetCenterOfRotation (CCVector3d ¢er) |
| static void | ResetCenterOfRotation (int viewport=0) |
| static void | SetCenterOfRotation (double x, double y, double z) |
| static void | SetCenterOfRotation (const double xyz[3]) |
| static void | SetCenterOfRotation (const CCVector3d ¢er) |
| static double | GetGLDepth (int x, int y) |
| static void | ChangeOpacity (double opacity, const std::string &viewID, int viewport=0) |
| static CCVector3d | ConvertMousePositionToOrientation (int x, int y) |
| Converts a given (mouse) position in pixels to an orientation. More... | |
| static void | UpdateActiveItemsList (int x, int y, bool extendToSelectedLabels=false) |
| Updates currently active items list (m_activeItems) More... | |
| static void | SetGLViewport (int x, int y, int w, int h) |
| Sets the OpenGL viewport (shortut) More... | |
| static void | SetGLViewport (const QRect &rect) |
| Sets the OpenGL viewport. More... | |
| static void | drawCross () |
| static void | drawTrihedron () |
| static bool | RenderToFile (QString filename, float zoomFactor=1.0f, bool dontScaleFeatures=false, bool renderOverlayItems=false) |
| Renders screen to a file. More... | |
| static QImage | RenderToImage (int zoomFactor=1, bool renderOverlayItems=false, bool silent=false, int viewport=0) |
| static void | SetScaleBarVisible (bool visible) |
| static void | DisplayTexture2DPosition (QImage image, const QString &id, int x, int y, int w, int h, unsigned char alpha=255) |
| static void | DrawClickableItems (int xStart, int &yStart) |
| static void | RenderText (int x, int y, const QString &str, const QFont &font=QFont(), const ecvColor::Rgbub &color=ecvColor::defaultLabelBkgColor, const QString &id="") |
| static void | RenderText (double x, double y, double z, const QString &str, const QFont &font=QFont(), const ecvColor::Rgbub &color=ecvColor::defaultLabelBkgColor, const QString &id="") |
| static void | ToggleExclusiveFullScreen (bool state) |
| Toggles (exclusive) full-screen mode. More... | |
| static bool | ExclusiveFullScreen () |
| Returns whether the window is in exclusive full screen mode or not. More... | |
| static void | SetExclusiveFullScreenFlage (bool state) |
| static void | SetPixelSize (float pixelSize) |
| Sets pixel size (i.e. zoom base) More... | |
| static void | UpdateConstellationCenterAndZoom (const ccBBox *aBox=nullptr, bool redraw=true) |
| Center and zoom on a given bounding box. More... | |
| static void | GetContext (CC_DRAW_CONTEXT &CONTEXT) |
| Returns context information. More... | |
| static void | GetGLCameraParameters (ccGLCameraParameters ¶ms) |
| Returns the current OpenGL camera parameters. More... | |
| static void | SetInteractionMode (INTERACTION_FLAGS flags) |
| static INTERACTION_FLAGS | GetInteractionMode () |
| Returns the current interaction flags. More... | |
| static void | SetView (CC_VIEW_ORIENTATION orientation, ccBBox *bbox) |
| static void | SetView (CC_VIEW_ORIENTATION orientation, bool forceRedraw=false) |
| static ccGLMatrixd | GenerateViewMat (CC_VIEW_ORIENTATION orientation) |
| static void | SetPerspectiveState (bool state, bool objectCenteredView) |
| Set perspective state/mode. More... | |
| static bool | GetPerspectiveState (int viewport=0) |
| static bool | ObjectPerspectiveEnabled () |
| Shortcut: returns whether object-based perspective mode is enabled. More... | |
| static bool | ViewerPerspectiveEnabled () |
| Shortcut: returns whether viewer-based perspective mode is enabled. More... | |
| static float | ComputePerspectiveZoom () |
| static void | SetFov (float fov) |
| Sets current camera f.o.v. (field of view) in degrees. More... | |
| static float | GetFov () |
| Returns the current f.o.v. (field of view) in degrees. More... | |
| static void | ZoomGlobal () |
| static CCVector3d | GetCurrentViewDir () |
| Returns current viewing direction. More... | |
| static CCVector3d | GetCurrentUpDir () |
| Returns current up direction. More... | |
| static void | SetCameraPos (const CCVector3d &P) |
| Sets camera position. More... | |
| static void | MoveCamera (float dx, float dy, float dz) |
| Displaces camera. More... | |
| static void | MoveCamera (const CCVector3d &v) |
| Displaces camera. More... | |
| static void | SetPickingMode (PICKING_MODE mode=DEFAULT_PICKING) |
| static PICKING_MODE | GetPickingMode () |
| static void | LockPickingMode (bool state) |
| Locks picking mode. More... | |
| static bool | IsPickingModeLocked () |
| Returns whether picking mode is locked or not. More... | |
| static void | SetZoom (float value) |
| Sets current zoom. More... | |
| static void | UpdateZoom (float zoomFactor) |
| Updates current zoom. More... | |
| static void | SetPivotPoint (const CCVector3d &P, bool autoUpdateCameraPos=false, bool verbose=false) |
| Sets pivot point. More... | |
| static void | SetPivotVisibility (PivotVisibility vis) |
| Sets pivot visibility. More... | |
| static void | SetPivotVisibility (bool state) |
| static PivotVisibility | GetPivotVisibility () |
| Returns pivot visibility. More... | |
| static void | ShowPivotSymbol (bool state) |
| Shows or hide the pivot symbol. More... | |
| static void | SetViewportParameters (const ecvViewportParameters ¶ms) |
| static const ecvViewportParameters & | GetViewportParameters () |
| static double | GetParallelScale (int viewport=0) |
| static void | SetParallelScale (double scale, int viewport=0) |
| static ccGLMatrixd & | GetModelViewMatrix () |
| static ccGLMatrixd & | GetProjectionMatrix () |
| static void | UpdateModelViewMatrix () |
| static void | UpdateProjectionMatrix () |
| static ccGLMatrixd | ComputeModelViewMatrix () |
| Computes the model view matrix. More... | |
| static ccGLMatrixd | ComputeProjectionMatrix (bool withGLfeatures, ProjectionMetrics *metrics=nullptr, double *eyeOffset=nullptr) |
| Computes the projection matrix. More... | |
| static void | Deprecate3DLayer () |
| static void | InvalidateViewport () |
| static void | InvalidateVisualization () |
| static CCVector3d | GetRealCameraCenter () |
| static double | ComputeActualPixelSize () |
| static bool | IsRectangularPickingAllowed () |
| Returns whether rectangular picking is allowed or not. More... | |
| static void | SetRectangularPickingAllowed (bool state) |
| Sets whether rectangular picking is allowed or not. More... | |
| static void | SetBubbleViewMode (bool state) |
| Sets bubble-view mode state. More... | |
| static bool | BubbleViewModeEnabled () |
| Returns whether bubble-view mode is enabled or no. More... | |
| static void | SetBubbleViewFov (float fov_deg) |
| Set bubble-view f.o.v. (in degrees) More... | |
| static void | ShowCursorCoordinates (bool state) |
| static bool | CursorCoordinatesShown () |
| static void | SetAutoPickPivotAtCenter (bool state) |
| static void | SendAutoPickPivotAtCenter (bool state) |
| static bool | AutoPickPivotAtCenter () |
| Whether the pivot point is automatically set at the center of the screen. More... | |
| static void | LockRotationAxis (bool state, const CCVector3d &axis) |
| Lock the rotation axis. More... | |
| static bool | IsRotationAxisLocked () |
| Returns whether the rotation axis is locaked or not. More... | |
| static bool | GetClick3DPos (int x, int y, CCVector3d &P3D) |
| Returns the approximate 3D position of the clicked pixel. More... | |
| static void | DrawPivot () |
| static void | EnableDebugTrace (bool state) |
| Shows debug info on screen. More... | |
| static void | ToggleDebugTrace () |
| Toggles debug info on screen. More... | |
| static bool | ProcessClickableItems (int x, int y) |
| Processes the clickable items. More... | |
| static void | SetZNearCoef (double coef) |
| Sets current camera 'zNear' coefficient. More... | |
| static void | StartPicking (PickingParameters ¶ms) |
| Starts picking process. More... | |
| static ccHObject * | GetPickedEntity (const PickingParameters ¶ms) |
| static void | StartOpenGLPicking (const PickingParameters ¶ms) |
| Performs the picking with OpenGL. More... | |
| static void | StartCPUBasedPointPicking (const PickingParameters ¶ms) |
| Starts OpenGL picking process. More... | |
| static void | ProcessPickingResult (const PickingParameters ¶ms, ccHObject *pickedEntity, int pickedItemIndex, const CCVector3 *nearestPoint=nullptr, const std::unordered_set< int > *selectedIDs=nullptr) |
| Processes the picking process result and sends the corresponding signal. More... | |
| static void | SetFontPointSize (int pixelSize) |
| Sets current font size. More... | |
| static int | GetFontPointSize () |
| Returns current font size. More... | |
| static int | GetLabelFontPointSize () |
| Returns current font size for labels. More... | |
| static void | SetClickableItemsVisible (bool state) |
| static bool | GetClickableItemsVisible () |
| static QFont | GetLabelDisplayFont () |
| static QFont | GetTextDisplayFont () |
| static ENTITY_TYPE | ConvertToEntityType (const CV_CLASS_ENUM &type) |
| static void | SetPickingRadius (int radius) |
| Sets picking radius. More... | |
| static int | GetPickingRadius () |
| Returns the current picking radius. More... | |
| static void | DisplayOverlayEntities (bool state) |
| static bool | OverlayEntitiesAreDisplayed () |
| static int | Width () |
| static int | Height () |
| static QSize | size () |
| static int | GlWidth () |
| Returns the OpenGL context width. More... | |
| static int | GlHeight () |
| Returns the OpenGL context height. More... | |
| static QSize | GlSize () |
| Returns the OpenGL context size. More... | |
| static void | ClearBubbleView () |
Static Public Member Functions inherited from ecvGenericDisplayTools | |
| static ecvGenericDisplayTools * | GetInstance () |
| static void | SetInstance (ecvGenericDisplayTools *tool) |
| static int | FontSizeModifier (int fontSize, float zoomFactor) |
| static bool | GetPerspectiveState () |
| Returns perspective mode. More... | |
| template<typename iType , typename oType > | |
| static void | ToWorldPoint (const Vector3Tpl< iType > &input2D, Vector3Tpl< oType > &output3D) |
| template<typename iType , typename oType > | |
| static void | ToDisplayPoint (const Vector3Tpl< iType > &input3D, Vector3Tpl< oType > &output2D) |
| static ccGLMatrixd | Frustum (double left, double right, double bottom, double top, double znear, double zfar) |
| static ccGLMatrixd | Perspective (double fovyInDegrees, double aspectRatio, double znear, double zfar) |
| static ccGLMatrixd | Ortho (double left, double right, double bottom, double top, double nearVal, double farVal) |
| static ccGLMatrixd | Ortho (double w, double h, double d) |
| template<typename iType , typename oType > | |
| static bool | Project (const Vector3Tpl< iType > &input3D, const oType *modelview, const oType *projection, const int *viewport, Vector3Tpl< oType > &output2D, bool *inFrustum=nullptr) |
| static double | MAT (const double *m, int r, int c) |
| static float | MAT (const float *m, int r, int c) |
| static double & | MAT (double *m, int r, int c) |
| static float & | MAT (float *m, int r, int c) |
| template<typename Type > | |
| static bool | InvertMatrix (const Type *m, Type *out) |
| template<typename iType , typename oType > | |
| static bool | Unproject (const Vector3Tpl< iType > &input2D, const oType *modelview, const oType *projection, const int *viewport, Vector3Tpl< oType > &output3D) |
| static void | PickMatrix (double x, double y, double width, double height, int viewport[4], double m[16]) |
Public Attributes | |
| std::list< MessageToDisplay > | m_messagesToDisplay |
| List of messages to display. More... | |
| std::list< ccInteractor * > | m_activeItems |
| Currently active items. More... | |
| ecvViewportParameters | m_viewportParams |
| Viewport parameters (zoom, etc.) More... | |
| std::vector< ClickableItem > | m_clickableItems |
| Currently displayed clickable items. More... | |
| bool | m_clickableItemsVisible |
| Whether clickable items are visible (= mouse over) or not. More... | |
| INTERACTION_FLAGS | m_interactionFlags |
| Current intercation flags. More... | |
| PICKING_MODE | m_pickingMode |
| bool | m_pickingModeLocked |
| Whether picking mode is locked or not. More... | |
| QElapsedTimer | m_timer |
| Internal timer. More... | |
| bool | m_touchInProgress |
| Touch event in progress. More... | |
| qreal | m_touchBaseDist |
| Touch gesture initial distance. More... | |
| QTimer | m_scheduleTimer |
| Scheduler timer. More... | |
| qint64 | m_scheduledFullRedrawTime |
| Scheduled full redraw (no LOD) More... | |
| ecvGui::ParamStruct | m_overridenDisplayParameters |
| Overridden display parameter. More... | |
| bool | m_displayOverlayEntities |
| Whether to display overlay entities or not (scale, tetrahedron, etc.) More... | |
| bool | m_overridenDisplayParametersEnabled |
| Whether display parameters are overidden for this window. More... | |
| bool | m_exclusiveFullscreen |
| Wether exclusive full screen is enabled or not. More... | |
| bool | m_showCursorCoordinates |
| bool | m_autoPickPivotAtCenter |
| bool | m_shouldBeRefreshed |
| Whether the display should be refreshed on next call to 'refresh'. More... | |
| CCVector3d | m_autoPivotCandidate |
| Candidate pivot point (will be used when the mouse is released) More... | |
| QRect | m_glViewport |
| viewport More... | |
| bool | m_showDebugTraces |
| Debug traces visibility. More... | |
| int | m_pickRadius |
| Picking radius (pixels) More... | |
| bool | m_autoRefresh |
| Auto-refresh mode. More... | |
| bool | m_rotationAxisLocked |
| Wheter the rotation axis is locked or not. More... | |
| CCVector3d | m_lockedRotationAxis |
| Locked rotation axis. More... | |
| ccGLMatrixd | m_viewMatd |
| Complete visualization matrix (GL style - double version) More... | |
| bool | m_validModelviewMatrix |
| Whether the model veiw matrix is valid (or need to be recomputed) More... | |
| ccGLMatrixd | m_projMatd |
| Projection matrix (GL style - double version) More... | |
| bool | m_validProjectionMatrix |
| Whether the projection matrix is valid (or need to be recomputed) More... | |
| double | m_cameraToBBCenterDist |
| Distance between the camera and the displayed objects bounding-box. More... | |
| double | m_bbHalfDiag |
| Half size of the displayed objects bounding-box. More... | |
| PivotVisibility | m_pivotVisibility |
| Pivot symbol visibility. More... | |
| bool | m_pivotSymbolShown |
| Whether pivot symbol should be shown or not. More... | |
| bool | m_allowRectangularEntityPicking |
| Whether rectangular picking is allowed or not. More... | |
| ccPolyline * | m_rectPickingPoly |
| Rectangular picking polyline. More... | |
| cloudViewer::geometry::LineSet * | m_scale_lineset |
| ccHObject * | m_winDBRoot |
| Window own DB. More... | |
| ccHObject * | m_globalDBRoot |
| CV main DB. More... | |
| bool | m_removeFlag |
| bool | m_removeAllFlag |
| std::vector< removeInfo > | m_removeInfos |
| bool | m_alwaysUseFBO |
| Whether to always use FBO or only for GL filters. More... | |
| bool | m_updateFBO |
| float | m_sunLightPos [4] |
| Sun light position. More... | |
| bool | m_sunLightEnabled |
| Whether sun light is enabled or not. More... | |
| float | m_customLightPos [4] |
| Custom light position. More... | |
| bool | m_customLightEnabled |
| Whether custom light is enabled or not. More... | |
| bool | m_bubbleViewModeEnabled |
| Bubble-view mode state. More... | |
| float | m_bubbleViewFov_deg |
| Bubble-view mode f.o.v. (degrees) More... | |
| ecvViewportParameters | m_preBubbleViewParameters |
| Pre-bubble-view camera parameters (backup) More... | |
| int | m_uniqueID |
| Unique ID. More... | |
| QFont | m_font |
| Default font. More... | |
| CaptureModeOptions | m_captureMode |
| Display capturing mode options. More... | |
| QTimer | m_deferredPickingTimer |
| Deferred picking. More... | |
| CCVector3 | m_last_picked_point |
| int | m_last_point_index = -1 |
| QString | m_last_picked_id = QString() |
| qint64 | m_lastClickTime_ticks |
| Last click time (msec) More... | |
| HotZone * | m_hotZone |
| Hot zone. More... | |
| QPoint | m_lastMousePos |
| Last mouse position. More... | |
| QPoint | m_lastMouseMovePos |
| QStringList | m_diagStrings |
| bool | m_mouseMoved |
| Whether the mouse (cursor) has moved after being pressed or not. More... | |
| bool | m_mouseButtonPressed |
| Whether the mouse is currently pressed or not. More... | |
| bool | m_ignoreMouseReleaseEvent |
| Ignore next mouse release event. More... | |
| bool | m_widgetClicked |
Static Public Attributes | |
| static const int | DefaultPickRadius = 5 |
| Default picking radius value. More... | |
| static bool | USE_2D |
| static bool | USE_VTK_PICK |
Protected Member Functions | |
| ecvDisplayTools ()=default | |
| virtual void | registerVisualizer (QMainWindow *win, bool stereoMode=false)=0 |
| register visualizer callback function More... | |
Protected Member Functions inherited from ecvGenericDisplayTools | |
| ecvGenericDisplayTools () | |
| Default constructor. More... | |
Protected Attributes | |
| QWidget * | m_currentScreen |
| QWidget * | m_mainScreen |
| QMainWindow * | m_win |
Definition at line 88 of file ecvDisplayTools.h.
Interaction flags (mostly with the mouse)
Definition at line 131 of file ecvDisplayTools.h.
Default message positions on screen.
| Enumerator | |
|---|---|
| LOWER_LEFT_MESSAGE | |
| UPPER_CENTER_MESSAGE | |
| SCREEN_CENTER_MESSAGE | |
Definition at line 175 of file ecvDisplayTools.h.
Message type.
Definition at line 182 of file ecvDisplayTools.h.
Picking mode.
| Enumerator | |
|---|---|
| NO_PICKING | |
| ENTITY_PICKING | |
| ENTITY_RECT_PICKING | |
| FAST_PICKING | |
| POINT_PICKING | |
| TRIANGLE_PICKING | |
| POINT_OR_TRIANGLE_PICKING | |
| POINT_OR_TRIANGLE_OR_LABEL_PICKING | |
| LABEL_PICKING | |
| DEFAULT_PICKING | |
Definition at line 117 of file ecvDisplayTools.h.
Pivot symbol visibility.
| Enumerator | |
|---|---|
| PIVOT_HIDE | |
| PIVOT_SHOW_ON_MOVE | |
| PIVOT_ALWAYS_SHOW | |
Definition at line 195 of file ecvDisplayTools.h.
|
overridevirtual |
Destructor.
|
protecteddefault |
|
static |
Adds an entity to window own DB.
By default no dependency link is established between the entity and the window (DB).
Referenced by ccRasterizeTool::addNewContour(), ccContourExtractorDlg::addToDisplay(), ccMouseCircle::ccMouseCircle(), define_ccDisplayTools(), DistanceMapGenerationDlg::DistanceMapGenerationDlg(), ccPointPropertiesDlg::exportCurrentLabel(), ccPointPropertiesDlg::linkWith(), DistanceMapGenerationDlg::loadOverlaySymbols(), DistanceMapGenerationDlg::toggleOverlayGrid(), DistanceMapGenerationDlg::update(), ccRasterizeTool::updateGridAndDisplay(), and ccVolumeCalcTool::updateGridAndDisplay().
|
signal |
|
inlinestatic |
Whether the pivot point is automatically set at the center of the screen.
Definition at line 1669 of file ecvDisplayTools.h.
|
signal |
Signal emitted when the window 'base view' matrix is changed.
|
inlinestatic |
Returns whether bubble-view mode is enabled or no.
Definition at line 1645 of file ecvDisplayTools.h.
|
signal |
Signal emitted when a mouse button is released (cursor on the window)
See INTERACT_SIG_BUTTON_RELEASED.
Referenced by ccPointPropertiesDlg::linkWith().
|
signal |
Signal emitted when the camera is interactively displaced.
|
signal |
|
signal |
Signal emitted when the camera position is changed.
| void ecvDisplayTools::cancelScheduledRedraw | ( | ) |
Cancels any scheduled redraw.
|
inlinevirtual |
Definition at line 449 of file ecvDisplayTools.h.
|
static |
Referenced by ccEntityAction::setColor().
|
inlinestatic |
Definition at line 1320 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1326 of file ecvDisplayTools.h.
|
static |
|
slot |
Checks for scheduled redraw.
|
static |
|
static |
Returns the actual pixel size on screen (taking zoom or perspective parameters into account) In perspective mode, this value is approximate.
Referenced by qCanupo2DViewDialog::addOrSelectPoint(), define_ccDisplayTools(), and qCanupo2DViewDialog::removePoint().
|
static |
Computes the model view matrix.
|
static |
Returns the zoom value equivalent to the current camera position (perspective only)
|
static |
Computes the projection matrix.
| [in] | withGLfeatures | whether to take additional elements (pivot symbol, custom light, etc.) into account or not |
| [out] | metrics | [optional] output other metrics (Znear and Zfar, etc.) |
| [out] | eyeOffset | [optional] eye offset (for stereo display) |
|
static |
Converts a given (mouse) position in pixels to an orientation.
The orientation vector origin is the current pivot point!
|
static |
|
inlinestatic |
Create a new viewport from [xmin,ymin] -> [xmax,ymax].
| [in] | xmin | the minimum X coordinate for the viewport (0.0 <= 1.0) |
| [in] | ymin | the minimum Y coordinate for the viewport (0.0 <= 1.0) |
| [in] | xmax | the maximum X coordinate for the viewport (0.0 <= 1.0) |
| [in] | ymax | the maximum Y coordinate for the viewport (0.0 <= 1.0) |
| [in] | viewport | the id of the new viewport |
Definition at line 1164 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1168 of file ecvDisplayTools.h.
|
inlinestatic |
Whether the coordinates of the point below the cursor position are displayed or not
Definition at line 1658 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1613 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools(), cc2Point5DimEditor::update2DDisplayZoom(), and DistanceMapGenerationDlg::updateZoom().
|
static |
Displays a string at a given 3D position.
This method should be called solely during 3D pass rendering (see paintGL).
| str | string |
| pos3D | 3D position of string origin |
| rgbColor | color (optional: if let to 0, default text rendering color is used) |
| font | font (optional) |
Referenced by define_ccDisplayTools().
|
static |
Displays a status message in the bottom-left corner.
WARNING: currently, 'append' is not supported for SCREEN_CENTER_MESSAGE
| message | message (if message is empty and append is 'false', all messages will be cleared) |
| pos | message position on screen |
| append | whether to append the message or to replace existing one(s) (only messages of the same type are impacted) |
| displayMaxDelay_sec | minimum display duration |
| type | message type (if not custom, only one message of this type at a time is accepted) |
Referenced by ccPointPairRegistrationDlg::align(), MainWindow::cancelPreviousPickingOperation(), ccGraphicalTransformationTool::clear(), define_ccDisplayTools(), ccGraphicalSegmentationTool::doSetPolylineSelection(), ccGraphicalSegmentationTool::doSetRectangularSelection(), MainWindow::enablePickingOperation(), ccPointPairRegistrationDlg::init(), MainWindow::onItemPicked(), ccThicknessTool::onNewSelection(), ccTopologyTool::onNewSelection(), ccGraphicalTransformationTool::pause(), ccGraphicalSegmentationTool::pauseSegmentationMode(), ccThicknessTool::pointPicked(), ccPointPairRegistrationDlg::resetTitle(), ccGraphicalSegmentationTool::stop(), ccTracePolylineTool::stop(), ccPointPairRegistrationDlg::stop(), MainWindow::toggleExclusiveFullScreen(), ccThicknessTool::toolActivated(), ccTopologyTool::toolActivated(), and ccPointPairRegistrationDlg::updateAlignInfo().
|
static |
Sets whether overlay entities (scale, tetrahedron, etc.) should be displayed or not
Referenced by cc2Point5DimEditor::create2DView(), define_ccDisplayTools(), DistanceMapGenerationDlg::DistanceMapGenerationDlg(), and ccContourExtractorDlg::init().
|
inlinestatic |
Definition at line 392 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 395 of file ecvDisplayTools.h.
|
static |
Displays a string at a given 2D position.
This method should be called solely during 2D pass rendering. The coordinates are expressed relatively to the current viewport (y = 0 at the top!).
| text | string |
| x | horizontal position of string origin |
| y | vertical position of string origin |
| align | alignment position flags |
| bkgAlpha | background transparency (0 by default) |
| rgbColor | text color (optional) |
| font | optional font (otherwise default one will be used) |
Referenced by define_ccDisplayTools(), and ccSymbolCloud::drawMeOnly().
|
static |
|
slot |
Performs standard picking at the last clicked mouse position (see m_lastMousePos)
|
inlinestatic |
Definition at line 883 of file ecvDisplayTools.h.
References size.
|
inlinestatic |
Definition at line 882 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools().
|
signal |
Signal emitted when the double mouse button is cliked on the window.
See INTERACT_SIG_LB_CLICKED. Arguments correspond to the clicked point coordinates (x,y) in pixels relative to the window corner!
|
inlinestatic |
Definition at line 415 of file ecvDisplayTools.h.
References context.
|
inlinevirtual |
Definition at line 419 of file ecvDisplayTools.h.
|
static |
|
inlinestatic |
Definition at line 430 of file ecvDisplayTools.h.
References context.
|
inlinevirtual |
Definition at line 434 of file ecvDisplayTools.h.
|
static |
Draws the 'hot zone' (+/- icons for point size), 'leave bubble-view' button, etc.
|
inlinestatic |
Definition at line 460 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 466 of file ecvDisplayTools.h.
|
static |
|
static |
|
signal |
Signal emitted during 3D pass of OpenGL display process.
Any object connected to this slot can draw additional stuff in 3D. Depth buffering, lights and shaders are enabled by default.
|
inlinestatic |
Definition at line 437 of file ecvDisplayTools.h.
References context.
|
inlinevirtual |
Definition at line 441 of file ecvDisplayTools.h.
|
static |
|
static |
|
inlinevirtual |
Definition at line 453 of file ecvDisplayTools.h.
|
static |
|
inlinestatic |
Shows debug info on screen.
Definition at line 1688 of file ecvDisplayTools.h.
|
signal |
Signal emitted when multiple entities are selected in the 3D view.
|
signal |
Signal emitted when an entity is selected in the 3D view.
|
inlinestatic |
Returns whether the window is in exclusive full screen mode or not.
Definition at line 1415 of file ecvDisplayTools.h.
|
signal |
Signal emitted when the exclusive fullscreen is toggled.
|
signal |
Signal emitted when fast picking is finished (FAST_PICKING mode only)
|
signal |
Signal emitted when files are dropped on the window.
|
static |
|
signal |
Signal emitted when the f.o.v. changes.
|
inlinestatic |
Definition at line 893 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 896 of file ecvDisplayTools.h.
|
static |
Returns a 4x4 'OpenGL' matrix corresponding to a default 'view' orientation
| orientation | view orientation |
|
inlinestatic |
Definition at line 721 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 978 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 981 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 919 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 922 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 900 of file ecvDisplayTools.h.
Referenced by cloudViewer::ModelViewerWidget::ChangeFocusDistance(), and cloudViewer::ModelViewerWidget::ZoomScale().
|
inlinevirtual |
Definition at line 903 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1001 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1004 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 914 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 917 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 924 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 927 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1276 of file ecvDisplayTools.h.
References Tuple3Tpl< Type >::u.
|
inlinestatic |
Get the current center of rotation
Definition at line 1273 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1279 of file ecvDisplayTools.h.
|
static |
Returns the approximate 3D position of the clicked pixel.
Referenced by ccGraphicalSegmentationTool::doExportSegmentationPolyline().
|
inlinestatic |
Definition at line 1770 of file ecvDisplayTools.h.
|
static |
Returns context information.
Referenced by define_ccDisplayTools(), ccMapWindow::getContext(), and ccPointPairRegistrationDlg::label2DMove().
|
inlinestatic |
Definition at line 666 of file ecvDisplayTools.h.
Referenced by ccPointPropertiesDlg::activatePointPropertiesDisplay(), qCanupo2DViewDialog::addOrSelectPoint(), ccPointPairRegistrationDlg::align(), ccPointPairRegistrationDlg::clear(), ccPointPropertiesDlg::close2DZone(), CC_ITEM_TREE::createPointLabel2D(), ccCompass::doAction(), MainWindow::doActionOrthogonalProjection(), MainWindow::doActionPerspectiveProjection(), ccPointPair::drawMeOnly(), ccSNECloud::drawMeOnly(), ccTrace::drawMeOnly(), ccSymbolCloud::drawMeOnly(), ccPointPropertiesDlg::exportCurrentLabel(), qCanupo2DViewDialog::getClickPos(), qCanupo2DViewDialog::getClosestVertex(), ccPointPairRegistrationDlg::init(), ccTool::initializeTool(), ccPointPairRegistrationDlg::label2DMove(), ccPointPropertiesDlg::linkWith(), MainWindow::MainWindow(), qCanupo2DViewDialog::moveSelectedPoint(), ccPointPairRegistrationDlg::onItemPicked(), ccTracePolylineTool::onItemPicked(), ccTracePolylineTool::onWidthSizeChanged(), ccGraphicalTransformationTool::pause(), ccGraphicalSegmentationTool::pauseSegmentationMode(), ccTracePolylineTool::polylineOverSampling(), ccPointPropertiesDlg::processClickedPoint(), ccPointListPickingDlg::processPickedPoint(), ccPointPropertiesDlg::processPickedPoint(), qCanupo2DViewDialog::removePoint(), ccGraphicalSegmentationTool::reset(), ccPointPairRegistrationDlg::reset(), qCanupo2DViewDialog::resetBoundary(), ccTracePolylineTool::resetPoly3D(), ccGraphicalSegmentationTool::resetSegmentation(), ccTracePolylineTool::resetTip(), ccPointPairRegistrationDlg::resetTitle(), ccGraphicalSegmentationTool::segment(), ccTracePolylineTool::SegmentGLParams::SegmentGLParams(), MainWindow::setGlobalZoom(), MainWindow::setOrthoView(), MainWindow::setPerspectiveView(), ecvFilterByLabelDlg::start(), ccGraphicalTransformationTool::start(), ccPointPairRegistrationDlg::start(), ccTracePolylineTool::start(), ccGraphicalSegmentationTool::stop(), ccTracePolylineTool::stop(), ccPointPropertiesDlg::stop(), MainWindow::toggle3DView(), ccFitPlaneTool::toolActivated(), ccPointPropertiesDlg::update2DZone(), ccPointPairRegistrationDlg::updateAlignedMarkers(), ccPointPairRegistrationDlg::updateAlignInfo(), ccPointListPickingDlg::updateList(), ccTracePolylineTool::updatePoly3D(), ccTracePolylineTool::updatePolyLineTip(), ccPointPairRegistrationDlg::updateRefMarkers(), ccGraphicalSegmentationTool::updateSegmentation(), ccTracePolylineTool::updateTip(), MainWindow::updateViewModePopUpMenu(), and qCanupo2DViewDialog::~qCanupo2DViewDialog().
|
static |
Returns current up direction.
This is the vertical direction of the screen (pointing 'upward') in world base.
|
static |
Returns current viewing direction.
This is the direction normal to the screen (pointing 'inside') in world base.
Referenced by MainWindow::onItemPicked().
|
inlinestatic |
Get Data Axes Grid properties (Unified Interface)
| viewID | The view ID of the ccHObject |
| props | Output: current axes grid properties |
| viewport | Viewport ID (default: 0) |
Definition at line 542 of file ecvDisplayTools.h.
|
inlinevirtual |
Get Data Axes Grid properties (Virtual interface for derived classes)
Definition at line 552 of file ecvDisplayTools.h.
Referenced by ccPropertiesTreeDelegate::fillWithViewProperties(), ccDBRoot::setData(), and ccPropertiesTreeDelegate::setEditorData().
|
inlinestatic |
Definition at line 742 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools(), and ccPointPairRegistrationDlg::label2DMove().
|
static |
Returns current parameters for this display (const version)
Warning: may return overridden parameters!
Referenced by ccVolumeCalcTool::ccVolumeCalcTool(), cc2Point5DimEditor::create2DView(), DistanceMapGenerationDlg::DistanceMapGenerationDlg(), ccContourExtractorDlg::init(), DistanceMapGenerationDlg::labelFontSizeChanged(), DistanceMapGenerationDlg::labelPrecisionChanged(), ccPointListPickingDlg::markerSizeChanged(), MainWindow::onItemPicked(), ccPointListPickingDlg::processPickedPoint(), ccVolumeCalcTool::setDisplayedNumberPrecision(), ccPointListPickingDlg::updateList(), and DistanceMapGenerationDlg::updateZoom().
|
static |
Returns current font size.
Referenced by define_ccDisplayTools().
|
static |
Returns the current f.o.v. (field of view) in degrees.
Referenced by define_ccDisplayTools(), and cloudViewer::ModelViewerWidget::ZoomScale().
|
static |
Returns the current OpenGL camera parameters.
Referenced by define_ccDisplayTools(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), ccGraphicalSegmentationTool::doExportSegmentationPolyline(), ccPointPair::drawMeOnly(), ccSNECloud::drawMeOnly(), ccTrace::drawMeOnly(), ccSymbolCloud::drawMeOnly(), qCanupo2DViewDialog::getClickPos(), ccCompassExport::saveSVG(), ccGraphicalSegmentationTool::segment(), ccTracePolylineTool::SegmentGLParams::SegmentGLParams(), and ccTracePolylineTool::updatePolyLineTip().
|
inlinestatic |
Definition at line 1313 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1316 of file ecvDisplayTools.h.
|
static |
Returns the current interaction flags.
Referenced by define_ccDisplayTools().
|
static |
Referenced by define_ccDisplayTools().
|
static |
Returns current font size for labels.
Referenced by define_ccDisplayTools().
|
inlinestatic |
Get current global light intensity
Definition at line 644 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 647 of file ecvDisplayTools.h.
Referenced by ccPropertiesTreeDelegate::setEditorData().
|
inlinestatic |
Definition at line 671 of file ecvDisplayTools.h.
Referenced by ccPointPairRegistrationDlg::EntityContext::restore().
|
inlinestatic |
Definition at line 679 of file ecvDisplayTools.h.
Referenced by ccRasterizeTool::activeLayerChanged(), ccRasterizeTool::addNewContour(), ccVolumeCalcTool::ccVolumeCalcTool(), define_ccDisplayTools(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), ccRasterizeTool::exportContourLines(), ccRasterizeTool::generateContours(), ccRasterizeTool::generateHillshade(), ccContourExtractorDlg::init(), ccGraphicalSegmentationTool::pauseSegmentationMode(), ccRasterizeTool::removeContourLines(), ccVolumeCalcTool::setDisplayedNumberPrecision(), cc2Point5DimEditor::update2DDisplayZoom(), ccRasterizeTool::updateGridAndDisplay(), ccVolumeCalcTool::updateGridAndDisplay(), ccContourExtractorDlg::win(), and cc2Point5DimEditor::~cc2Point5DimEditor().
|
static |
|
inlinestatic |
Definition at line 748 of file ecvDisplayTools.h.
|
inlinestatic |
Returns window own DB.
Definition at line 690 of file ecvDisplayTools.h.
Referenced by DistanceMapGenerationDlg::clearOverlaySymbols(), DistanceMapGenerationDlg::clearView(), define_ccDisplayTools(), DistanceMapGenerationDlg::labelFontSizeChanged(), DistanceMapGenerationDlg::overlayGridColorChanged(), DistanceMapGenerationDlg::overlaySymbolsColorChanged(), DistanceMapGenerationDlg::overlaySymbolsSizeChanged(), DistanceMapGenerationDlg::toggleOverlayGrid(), DistanceMapGenerationDlg::update(), DistanceMapGenerationDlg::updateMapTexture(), and qCanupo2DViewDialog::updateZoom().
|
inlinestatic |
Definition at line 1581 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1584 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1467 of file ecvDisplayTools.h.
|
inlineoverridevirtual |
Reimplemented from ecvGenericDisplayTools.
Definition at line 1470 of file ecvDisplayTools.h.
|
static |
|
static |
Referenced by define_ccDisplayTools().
|
inlinestatic |
Returns the current picking radius.
Definition at line 1789 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools().
|
inlinestatic |
Returns pivot visibility.
Definition at line 1565 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools().
|
inlinestatic |
Definition at line 819 of file ecvDisplayTools.h.
|
static |
|
inlinestatic |
Definition at line 1084 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1088 of file ecvDisplayTools.h.
|
static |
|
inlinestatic |
Definition at line 701 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools(), and ccTracePolylineTool::polylineOverSampling().
|
inlinestatic |
Definition at line 872 of file ecvDisplayTools.h.
Referenced by ccContourExtractorDlg::zoomOn().
|
inlinestatic |
Definition at line 886 of file ecvDisplayTools.h.
Referenced by CC_ITEM_TREE::createPointLabel2D(), define_ccDisplayTools(), ccPointListPickingDlg::processPickedPoint(), and qAnimationDlg::render().
|
inlinestatic |
Definition at line 1777 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools(), ccSymbolCloud::drawMeOnly(), and DistanceMapGenerationDlg::updateZoom().
|
inlinevirtual |
|
inlinestatic |
Definition at line 1015 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1091 of file ecvDisplayTools.h.
Referenced by cloudViewer::ModelViewerWidget::ModelViewMatrix().
|
inlinevirtual |
Definition at line 1094 of file ecvDisplayTools.h.
|
static |
Referenced by DistanceMapGenerationDlg::baseRadiusChanged(), MainWindow::decreasePointSize(), define_ccDisplayTools(), MainWindow::doActionSaveViewportAsCamera(), ccGraphicalSegmentationTool::doExportSegmentationPolyline(), ccMouseCircle::draw(), ccPointPair::drawMeOnly(), ccSNECloud::drawMeOnly(), ccTrace::drawMeOnly(), MainWindow::increasePointSize(), ccPointPairRegistrationDlg::init(), MainWindow::onItemPicked(), ccPointPropertiesDlg::processClickedPoint(), ecvAnimationParamDlg::start(), cc2Point5DimEditor::update2DDisplayZoom(), and DistanceMapGenerationDlg::updateZoom().
|
static |
Returns the visible objects bounding-box.
Referenced by define_ccDisplayTools(), and qAnimationDlg::init().
|
inlinestatic |
Definition at line 659 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 662 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 653 of file ecvDisplayTools.h.
Referenced by ecvMeasurementTool::createMeasurementTool().
|
inlinevirtual |
Definition at line 656 of file ecvDisplayTools.h.
|
inlinestatic |
Returns the OpenGL context height.
Definition at line 2040 of file ecvDisplayTools.h.
Referenced by cloudViewer::ModelViewerWidget::AspectRatio(), DistanceMapGenerationDlg::exportMapAsImage(), ccCompass::exportToSVG(), ccPointPairRegistrationDlg::label2DMove(), qAnimationDlg::render(), ccCompassExport::saveSVG(), ecvAnimationParamDlg::startAnimation(), DistanceMapGenerationDlg::updateZoom(), and cloudViewer::ModelViewerWidget::ZoomScale().
|
inlinestatic |
Returns the OpenGL context size.
Definition at line 2042 of file ecvDisplayTools.h.
|
inlinestatic |
Returns the OpenGL context width.
Definition at line 2038 of file ecvDisplayTools.h.
Referenced by cloudViewer::ModelViewerWidget::AspectRatio(), DistanceMapGenerationDlg::exportMapAsImage(), ccCompass::exportToSVG(), ccPointPairRegistrationDlg::label2DMove(), ccPointPropertiesDlg::processPickedPoint(), qAnimationDlg::render(), ccCompassExport::saveSVG(), ecvAnimationParamDlg::startAnimation(), and DistanceMapGenerationDlg::updateZoom().
|
inlinestatic |
Definition at line 2034 of file ecvDisplayTools.h.
References size.
Referenced by cc2Point5DimEditor::update2DDisplayZoom().
|
inlinestatic |
Definition at line 1105 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1108 of file ecvDisplayTools.h.
|
static |
|
static |
|
static |
| mainWidget | MainWindow widget (optional) |
|
inlinestatic |
Definition at line 1614 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools(), cc2Point5DimEditor::update2DDisplayZoom(), and DistanceMapGenerationDlg::updateZoom().
|
inlinestatic |
Definition at line 1617 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools(), cc2Point5DimEditor::update2DDisplayZoom(), and DistanceMapGenerationDlg::updateZoom().
|
inlinestatic |
Check if Camera Orientation Widget is shown.
Definition at line 628 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 631 of file ecvDisplayTools.h.
|
static |
Returns whether picking mode is locked or not.
Referenced by define_ccDisplayTools().
|
static |
Returns whether rectangular picking is allowed or not.
Referenced by define_ccDisplayTools().
|
inlinestatic |
Returns whether the rotation axis is locaked or not.
Definition at line 1677 of file ecvDisplayTools.h.
|
signal |
Signal emitted when a point (or a triangle) is picked.
| entity | 'picked' entity |
| subEntityID | point or triangle index in entity |
| x | mouse cursor x position |
| y | mouse cursor y position |
| P | the picked point |
Referenced by ecvAnimationParamDlg::enableListener(), and ccPickingHub::onActiveWindowChanged().
|
signal |
Signal emitted when an item is picked (FAST_PICKING mode only)
| entity | entity |
| subEntityID | point or triangle index in entity |
| x | mouse cursor x position |
| y | mouse cursor y position |
|
signal |
Referenced by ccPointPairRegistrationDlg::start(), and ccPointPairRegistrationDlg::stop().
|
signal |
Signal emitted when the left mouse button is cliked on the window.
See INTERACT_SIG_LB_CLICKED. Arguments correspond to the clicked point coordinates (x,y) in pixels relative to the window corner!
Referenced by ccPointPropertiesDlg::linkWith().
|
inlinestatic |
Definition at line 1040 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1043 of file ecvDisplayTools.h.
|
static |
Locks picking mode.
Referenced by define_ccDisplayTools().
|
static |
Lock the rotation axis.
|
signal |
Signal emitted when the mouse is moved.
See INTERACT_SIG_MOUSE_MOVED. The two first arguments correspond to the current cursor coordinates (x,y) relative to the window corner!
Referenced by ccPointPropertiesDlg::linkWith(), ccTracePolylineTool::linkWith(), and ccCloudLayersDlg::start().
|
signal |
|
signal |
|
signal |
Signal emitted when the mouse wheel is rotated.
|
inlinestatic |
Displaces camera.
Values are given in objects world along the current camera viewing directions (we use the right hand rule): X: horizontal axis (right) Y: vertical axis (up) Z: depth axis (pointing out of the screen)
| v | displacement vector |
Definition at line 1525 of file ecvDisplayTools.h.
References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
static |
Displaces camera.
Values are given in objects world along the current camera viewing directions (we use the right hand rule): X: horizontal axis (right) Y: vertical axis (up) Z: depth axis (pointing out of the screen)
Referenced by define_ccDisplayTools().
|
signal |
Signal emitted when a new label is created.
|
static |
Shortcut: returns whether object-based perspective mode is enabled.
Referenced by define_ccDisplayTools().
|
slot |
Reacts to the itemPickedFast signal.
|
slot |
|
slot |
|
inlinestatic |
Definition at line 496 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 499 of file ecvDisplayTools.h.
|
inlinestatic |
Returns whether overlay entities (scale, tetrahedron, etc.) are displayed or not
Definition at line 1797 of file ecvDisplayTools.h.
|
static |
Referenced by qCanupo2DViewDialog::deselectPoint().
|
signal |
Signal emitted when the perspective state changes (see setPerspectiveState)
|
static |
|
inlinevirtual |
Definition at line 1128 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1133 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1136 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1139 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1142 of file ecvDisplayTools.h.
|
signal |
Signal emitted when the pivot point is changed.
|
signal |
Signal emitted when the pixel size is changed.
|
signal |
|
static |
Processes the clickable items.
|
static |
Processes the picking process result and sends the corresponding signal.
|
static |
|
static |
Referenced by ccRasterizeTool::activeLayerChanged(), qCanupo2DViewDialog::addOrSelectPoint(), ccCompass::addPinchNode(), ccPointPairRegistrationDlg::align(), ccGraphicalTransformationTool::apply(), ccLibAlgorithms::ApplyScaleMatchingAlgorithm(), DistanceMapGenerationDlg::baseRadiusChanged(), ccPointPairRegistrationDlg::cancel(), MainWindow::cancelPreviousPickingOperation(), masc::Classifier::classify(), ccCompass::cleanupBeforeToolChange(), DistanceMapGenerationDlg::clearOverlaySymbols(), DistanceMapGenerationDlg::colorScaleChanged(), define_ccDisplayTools(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), ccGraphicalSegmentationTool::doSetPolylineSelection(), ccGraphicalSegmentationTool::doSetRectangularSelection(), ccCompass::enableMapMode(), ccCompass::enableMeasureMode(), MainWindow::enablePickingOperation(), cloudViewer::ModelViewerWidget::EndRender(), masc::Classifier::evaluate(), JsonRPCPlugin::execute(), ccPointPropertiesDlg::exportCurrentLabel(), ccTraceTool::finishCurrentTrace(), ccRasterizeTool::generateContours(), ccRasterizeTool::generateHillshade(), ccPointPairRegistrationDlg::init(), DistanceMapGenerationDlg::labelFontSizeChanged(), DistanceMapGenerationDlg::labelPrecisionChanged(), DistanceMapGenerationDlg::loadOverlaySymbols(), ccPointListPickingDlg::markerSizeChanged(), qCanupo2DViewDialog::moveSelectedPoint(), ccColorLevelsDlg::onApply(), ccThicknessTool::onNewSelection(), DistanceMapGenerationDlg::overlayGridColorChanged(), DistanceMapGenerationDlg::overlaySymbolsColorChanged(), DistanceMapGenerationDlg::overlaySymbolsSizeChanged(), ccGraphicalTransformationTool::pause(), ccGraphicalSegmentationTool::pauseSegmentationMode(), BasePclModule::performAction(), ccCompass::pointPicked(), ccCompass::recalculateSelectedTraces(), ccContourExtractorDlg::refresh(), MainWindow::refreshAll(), MainWindow::refreshObject(), MainWindow::refreshObjects(), MainWindow::refreshSelected(), ccRasterizeTool::removeContourLines(), ccGraphicalSegmentationTool::reset(), ccPointPairRegistrationDlg::reset(), qCanupo2DViewDialog::resetBoundary(), ccPointPairRegistrationDlg::EntityContext::restore(), ccGraphicalSegmentationTool::segment(), cloudViewer::ModelViewerWidget::SetBackgroundColor(), ccEntityAction::setColor(), ccAlignDlg::setColorsAndLabels(), ccVolumeCalcTool::setDisplayedNumberPrecision(), ccCompass::setLineation(), ccCompass::setNote(), ccCompass::setPick(), ccCompass::setPlane(), ccCompass::setThickness(), ccCompass::setTrace(), ccCompass::setYoungerThan(), ccPointPairRegistrationDlg::showAlignedEntities(), ccPointPairRegistrationDlg::showReferenceEntities(), ccCompass::startMeasuring(), ccGraphicalSegmentationTool::stop(), DistanceMapGenerationDlg::toggleColorScaleDisplay(), MainWindow::toggleExclusiveFullScreen(), ccCompass::toggleLabels(), ccCompass::toggleNormals(), DistanceMapGenerationDlg::toggleOverlayGrid(), ccCompass::toggleStipple(), ccThicknessTool::toolActivated(), ccThicknessTool::toolDisactivated(), ccTraceTool::undo(), cc2Point5DimEditor::update2DDisplayZoom(), ccPointPairRegistrationDlg::updateAlignInfo(), ccComparisonDlg::updateDisplay(), ccRasterizeTool::updateGridAndDisplay(), ccVolumeCalcTool::updateGridAndDisplay(), ccRegistrationDlg::updateGUI(), FastGlobalRegistrationDialog::updateGUI(), DistanceMapGenerationDlg::updateMapTexture(), qCanupo2DViewDialog::updateZoom(), DistanceMapGenerationDlg::updateZoom(), ccRegistrationDlg::~ccRegistrationDlg(), and FastGlobalRegistrationDialog::~FastGlobalRegistrationDialog().
|
static |
Referenced by define_ccDisplayTools().
|
protectedpure virtual |
register visualizer callback function
|
static |
Referenced by MainWindow::~MainWindow().
|
static |
Referenced by define_ccDisplayTools().
|
static |
Referenced by define_ccDisplayTools().
|
static |
|
static |
|
inlinestatic |
Definition at line 1118 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1121 of file ecvDisplayTools.h.
|
static |
Referenced by ccPointPairRegistrationDlg::updateSphereMarks().
|
static |
|
static |
Removes an entity from window own DB.
Referenced by MainWindow::cancelPreviousPickingOperation(), DistanceMapGenerationDlg::clearOverlaySymbols(), DistanceMapGenerationDlg::clearView(), define_ccDisplayTools(), ccRasterizeTool::exportContourLines(), ccPointPropertiesDlg::exportCurrentLabel(), ccPointPropertiesDlg::linkWith(), ccRasterizeTool::removeContourLines(), ccContourExtractorDlg::removFromDisplay(), DistanceMapGenerationDlg::toggleOverlayGrid(), ccRasterizeTool::updateGridAndDisplay(), ccVolumeCalcTool::updateGridAndDisplay(), cc2Point5DimEditor::~cc2Point5DimEditor(), and ccMouseCircle::~ccMouseCircle().
|
static |
|
static |
|
static |
Referenced by define_ccDisplayTools().
|
static |
Renders screen to a file.
Referenced by define_ccDisplayTools(), DistanceMapGenerationDlg::exportMapAsImage(), and ccCompassExport::saveSVG().
|
inlinestatic |
Definition at line 1362 of file ecvDisplayTools.h.
Referenced by cloudViewer::ModelViewerWidget::GrabImage(), qAnimationDlg::render(), and qAnimationDlg::textureAnimationRender().
|
inlinevirtual |
Definition at line 1369 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1251 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1255 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1246 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1250 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 994 of file ecvDisplayTools.h.
Referenced by ecvPrimitiveFactoryDlg::createPrimitive().
|
inlinevirtual |
Definition at line 997 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1174 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1177 of file ecvDisplayTools.h.
|
inlinestatic |
Resets the center of rotation to the focal point.
Definition at line 1285 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1289 of file ecvDisplayTools.h.
|
static |
Sets current zoom.
Warning: has no effect in viewer-centered perspective mode
|
signal |
Signal emitted when the right mouse button is cliked on the window.
See INTERACT_SIG_RB_CLICKED. Arguments correspond to the clicked point coordinates (x,y) in pixels relative to the window corner!
Referenced by ccTracePolylineTool::linkWith().
|
static |
Rotates the base view matrix.
Warning: 'base view' marix is either:
|
inlinestatic |
Rotate camera with axis given about angle.
| pos | The mouse position on screen. |
| axis | The rotation axis. |
| angle | The ration angle in degrees. notify the external memory manager that the memory is no longer needed. It's up to the external manager to free the memory. |
Definition at line 477 of file ecvDisplayTools.h.
Referenced by ecvAnimationParamDlg::startAnimation().
|
inlinevirtual |
Definition at line 484 of file ecvDisplayTools.h.
|
signal |
Signal emitted when the selected object is rotated by the user.
| rotMat | rotation applied to current viewport (4x4 OpenGL matrix) |
|
inlinestatic |
Save or Load the current rendered camera parameters to disk or current camera.
| [in] | file | the name of the param file |
Definition at line 1034 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1037 of file ecvDisplayTools.h.
|
inlinestatic |
Save the current rendered image to disk, as a PNG screenshot.
| [in] | file | the name of the PNG file |
Definition at line 1025 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1028 of file ecvDisplayTools.h.
| void ecvDisplayTools::scheduleFullRedraw | ( | unsigned | maxDelay_ms | ) |
Schedules a full redraw.
Any previously scheduled redraw will be cancelled.
| maxDelay_ms | the maximum delay for the call to redraw (in ms) |
|
inlinestatic |
Definition at line 1665 of file ecvDisplayTools.h.
|
static |
Sets current camera aspect ratio (width/height)
AR is only used in perspective mode.
|
static |
Toggles the automatic setting of the pivot point at the center of the screen
|
inlinestatic |
Definition at line 1265 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1268 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1149 of file ecvDisplayTools.h.
|
static |
|
static |
Set bubble-view f.o.v. (in degrees)
|
static |
Sets bubble-view mode state.
Bubble-view is a kind of viewer-based perspective mode where the user can't displace the camera (apart from up-down or left-right rotations). The f.o.v. is also maximized.
|
inlinestatic |
Definition at line 983 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 990 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 907 of file ecvDisplayTools.h.
Referenced by cloudViewer::ModelViewerWidget::ChangeFocusDistance().
|
inlinevirtual |
Definition at line 911 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1007 of file ecvDisplayTools.h.
References cloudViewer::DegreesToRadians().
|
inlinevirtual |
Definition at line 1012 of file ecvDisplayTools.h.
|
static |
Sets camera position.
Emits the 'cameraPosChanged' signal.
Referenced by define_ccDisplayTools(), cc2Point5DimEditor::update2DDisplayZoom(), DistanceMapGenerationDlg::updateZoom(), and ccContourExtractorDlg::zoomOn().
|
inlinestatic |
Definition at line 929 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 933 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 935 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 941 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 945 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 950 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 953 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 966 of file ecvDisplayTools.h.
|
inlinestatic |
Enable/disable center axes visualization.
Definition at line 611 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 615 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1309 of file ecvDisplayTools.h.
References Tuple3Tpl< Type >::u.
|
inlinestatic |
Definition at line 1305 of file ecvDisplayTools.h.
|
inlinestatic |
Set the center of rotation. For this to work, one should have appropriate interaction style and camera manipulators that use the center of rotation They are setup correctly by default
Definition at line 1298 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1301 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1767 of file ecvDisplayTools.h.
|
static |
|
inlinestatic |
Set Data Axes Grid properties (Unified Interface) Each ccHObject has its own Data Axes Grid bound to its viewID.
| viewID | The view ID of the ccHObject (empty string for current selected object) |
| props | All axes grid properties encapsulated in AxesGridProperties struct |
| viewport | Viewport ID (default: 0) |
Definition at line 518 of file ecvDisplayTools.h.
|
inlinevirtual |
Set Data Axes Grid properties (Virtual interface for derived classes)
Definition at line 530 of file ecvDisplayTools.h.
Referenced by ccPropertiesTreeDelegate::setEditorData().
|
static |
Sets current parameters for this display.
Referenced by ccVolumeCalcTool::ccVolumeCalcTool(), cc2Point5DimEditor::create2DView(), DistanceMapGenerationDlg::DistanceMapGenerationDlg(), ccContourExtractorDlg::init(), DistanceMapGenerationDlg::labelFontSizeChanged(), DistanceMapGenerationDlg::labelPrecisionChanged(), ccPointListPickingDlg::markerSizeChanged(), cloudViewer::ModelViewerWidget::SetBackgroundColor(), and ccVolumeCalcTool::setDisplayedNumberPrecision().
|
inlinestatic |
Definition at line 1418 of file ecvDisplayTools.h.
|
static |
Draws the main 3D layer.
|
inlinestatic |
Sets current font size.
Warning: only used internally. Change 'defaultFontSize' with setDisplayParameters instead!
Definition at line 1759 of file ecvDisplayTools.h.
|
static |
Sets current camera f.o.v. (field of view) in degrees.
FOV is only used in perspective mode.
Referenced by define_ccDisplayTools().
|
static |
Sets the OpenGL viewport.
|
inlinestatic |
Sets the OpenGL viewport (shortut)
Definition at line 1346 of file ecvDisplayTools.h.
|
static |
Referenced by ccPointPropertiesDlg::activate2DZonePicking(), ccPointPropertiesDlg::activateAngleDisplay(), ccPointPropertiesDlg::activateDistanceDisplay(), ccPointPropertiesDlg::activatePointPropertiesDisplay(), qCanupo2DViewDialog::addOrSelectPoint(), cc2Point5DimEditor::create2DView(), define_ccDisplayTools(), qCanupo2DViewDialog::deselectPoint(), DistanceMapGenerationDlg::DistanceMapGenerationDlg(), ccContourExtractorDlg::init(), ccPointPropertiesDlg::linkWith(), ccGraphicalSegmentationTool::pauseSegmentationMode(), ccTracePolylineTool::start(), ccGraphicalSegmentationTool::stop(), ccTracePolylineTool::stop(), and ccPointPropertiesDlg::stop().
|
inlinestatic |
Set global light intensity (ParaView-style, affects all scene objects) Directly modifies the renderer's default light intensity
| intensity | Light intensity (0.0-1.0, default 1.0) |
Definition at line 636 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 640 of file ecvDisplayTools.h.
|
static |
Sets line width.
| width | lines width (between MIN_LINE_WIDTH_F and MAX_LINE_WIDTH_F) |
Referenced by define_ccDisplayTools().
|
static |
|
inlinestatic |
Set the ID of a cloud or shape to be used for LUT display.
| [in] | id | The id of the cloud/shape look up table to be displayed The look up table is displayed by pressing 'u' in the PCLVisualizer |
Definition at line 1078 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1081 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 675 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 680 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1052 of file ecvDisplayTools.h.
Referenced by MainWindow::doActionOrthogonalProjection().
|
inlinevirtual |
Definition at line 1056 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1587 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1590 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1058 of file ecvDisplayTools.h.
Referenced by MainWindow::doActionPerspectiveProjection().
|
inlinevirtual |
Definition at line 1062 of file ecvDisplayTools.h.
|
static |
Set perspective state/mode.
Persepctive mode can be:
| state | whether perspective mode is enabled or not |
| objectCenteredView | whether view is object- or viewer-centered (forced to true in ortho. mode) |
Referenced by cc2Point5DimEditor::create2DView(), define_ccDisplayTools(), DistanceMapGenerationDlg::DistanceMapGenerationDlg(), ccContourExtractorDlg::init(), ccCompassExport::saveSVG(), MainWindow::setOrthoView(), MainWindow::setPerspectiveView(), and ccFitPlaneTool::toolActivated().
|
static |
Referenced by ccTracePolylineTool::closePolyLine(), cc2Point5DimEditor::create2DView(), define_ccDisplayTools(), ecvAnimationParamDlg::enableListener(), ccContourExtractorDlg::init(), ccGraphicalSegmentationTool::start(), ccTracePolylineTool::start(), ccGraphicalSegmentationTool::stop(), and ccPickingHub::togglePickingMode().
|
inlinestatic |
Sets picking radius.
Definition at line 1785 of file ecvDisplayTools.h.
Referenced by define_ccDisplayTools().
|
static |
Sets pivot point.
Emits the 'pivotPointChanged' signal.
Referenced by define_ccDisplayTools(), MainWindow::onItemPicked(), cc2Point5DimEditor::update2DDisplayZoom(), and DistanceMapGenerationDlg::updateZoom().
|
inlinestatic |
Definition at line 1559 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1562 of file ecvDisplayTools.h.
|
static |
Sets pivot visibility.
Referenced by define_ccDisplayTools().
|
static |
Sets pixel size (i.e. zoom base)
Emits the 'pixelSizeChanged' signal.
Referenced by ccContourExtractorDlg::zoomOn().
|
static |
|
static |
|
static |
Sets whether rectangular picking is allowed or not.
Referenced by define_ccDisplayTools().
|
static |
Referenced by MainWindow::addToDB(), ccPointPairRegistrationDlg::align(), ccGraphicalTransformationTool::apply(), ccLibAlgorithms::ApplyScaleMatchingAlgorithm(), ccPointPairRegistrationDlg::cancel(), MainWindow::cancelPreviousPickingOperation(), ccDBRoot::changeSelection(), masc::Classifier::classify(), ccEntityAction::computeOctree(), ccDBRoot::deleteSelectedEntities(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), qCanupoPlugin::doClassifyAction(), qSRA::doComputeRadialDists(), ccGraphicalSegmentationTool::doSetPolylineSelection(), ccGraphicalSegmentationTool::doSetRectangularSelection(), masc::Classifier::evaluate(), ccPointPropertiesDlg::exportCurrentLabel(), ccPointPairRegistrationDlg::init(), ccMPlaneDlgController::onNormalCheckBoxClicked(), ccGraphicalTransformationTool::pause(), ccGraphicalSegmentationTool::pauseSegmentationMode(), BasePclModule::performAction(), MainWindow::refreshObject(), MainWindow::refreshObjects(), MainWindow::refreshSelected(), ccGraphicalSegmentationTool::reset(), ccPointPairRegistrationDlg::reset(), ccPointPairRegistrationDlg::EntityContext::restore(), ccGraphicalSegmentationTool::segment(), ccEntityAction::setColor(), ccOrderChoiceDlg::setColorsAndLabels(), ccDBRoot::setData(), MainWindow::setGlobalZoom(), qVoxFallDialog::setMesh1Visibility(), qVoxFallDialog::setMesh2Visibility(), ccPointPairRegistrationDlg::showAlignedEntities(), ccPointPairRegistrationDlg::showReferenceEntities(), cloudViewer::ModelViewerWidget::StartRender(), ccGraphicalSegmentationTool::stop(), MainWindow::toggleExclusiveFullScreen(), ccPointPairRegistrationDlg::updateAlignInfo(), ccComparisonDlg::updateDisplay(), StereogramDialog::updateFacetsFilter(), ccRegistrationDlg::updateGUI(), FastGlobalRegistrationDialog::updateGUI(), ccOrderChoiceDlg::~ccOrderChoiceDlg(), ccRegistrationDlg::~ccRegistrationDlg(), and FastGlobalRegistrationDialog::~FastGlobalRegistrationDialog().
|
static |
|
inlinestatic |
Definition at line 727 of file ecvDisplayTools.h.
Referenced by ccDBRoot::unloadAll().
|
static |
Referenced by ccDBRoot::deleteSelectedEntities().
|
inlinestatic |
Definition at line 888 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 891 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1376 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1379 of file ecvDisplayTools.h.
|
static |
Referenced by define_ccDisplayTools(), and MainWindow::~MainWindow().
|
inlinestatic |
Definition at line 879 of file ecvDisplayTools.h.
|
static |
Referenced by define_ccDisplayTools().
|
inlinestatic |
Use Vertex Buffer Objects renderers. This is an optimization for the obsolete OpenGL backend. Modern OpenGL2 backend (VTK \A1\DD 6.3) uses vertex buffer objects by default, transparently for the user.
| [in] | use_vbos | set to true to use VBOs |
Definition at line 1070 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1073 of file ecvDisplayTools.h.
|
static |
|
static |
|
inlinestatic |
Configure view axes grid properties.
Definition at line 568 of file ecvDisplayTools.h.
References color.
|
inlinevirtual |
Definition at line 581 of file ecvDisplayTools.h.
|
inlinestatic |
Enable/disable view axes grid (aligned with camera/view)
Definition at line 560 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 564 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1097 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1101 of file ecvDisplayTools.h.
|
static |
Referenced by qAnimationDlg::applyViewport(), DistanceMapGenerationDlg::baseRadiusChanged(), define_ccDisplayTools(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), ccPointPairRegistrationDlg::init(), cc2Point5DimEditor::update2DDisplayZoom(), and DistanceMapGenerationDlg::updateZoom().
|
static |
Sets current camera 'zNear' coefficient.
zNear coef. is only used in perspective mode.
|
static |
Sets current zoom.
Warning: has no effect in viewer-centered perspective mode
|
inlinestatic |
Sets whether to display the coordinates of the point below the cursor position
Definition at line 1653 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1046 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1050 of file ecvDisplayTools.h.
|
static |
Shows or hide the pivot symbol.
Warnings:
Referenced by define_ccDisplayTools().
|
inlinestatic |
Definition at line 2035 of file ecvDisplayTools.h.
|
static |
Starts OpenGL picking process.
|
static |
Performs the picking with OpenGL.
|
static |
Starts picking process.
| params | picking parameters |
|
static |
Referenced by ecvAnimationParamDlg::enableListener(), ccPropertiesTreeDelegate::fillWithViewProperties(), ecvAnimationParamDlg::linkWith(), ccGraphicalSegmentationTool::linkWith(), ccPointPropertiesDlg::linkWith(), ccTracePolylineTool::linkWith(), ccPickingHub::onActiveWindowChanged(), ccDBRoot::setData(), ccPropertiesTreeDelegate::setEditorData(), ccPointPairRegistrationDlg::start(), ccCloudLayersDlg::start(), and ccPointPairRegistrationDlg::stop().
|
static |
Referenced by define_ccDisplayTools().
|
static |
Referenced by define_ccDisplayTools().
|
inlinestatic |
Definition at line 1191 of file ecvDisplayTools.h.
Referenced by MainWindow::toggle3DView().
|
inlinevirtual |
Definition at line 1194 of file ecvDisplayTools.h.
|
inlinestatic |
Toggle Camera Orientation Widget visibility (ParaView-style interactive widget)
Definition at line 620 of file ecvDisplayTools.h.
Referenced by MainWindow::MainWindow().
|
inlinevirtual |
Definition at line 624 of file ecvDisplayTools.h.
|
inlinestatic |
Toggles debug info on screen.
Definition at line 1693 of file ecvDisplayTools.h.
|
inlinestatic |
Toggles (exclusive) full-screen mode.
Definition at line 1408 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1411 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 489 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 493 of file ecvDisplayTools.h.
|
static |
|
static |
|
static |
Referenced by ccGraphicalSegmentationTool::addPointToPolyline(), qCanupo2DViewDialog::getClickPos(), ccTracePolylineTool::onItemPicked(), ccPointPropertiesDlg::processClickedPoint(), ccTracePolylineTool::SegmentGLParams::SegmentGLParams(), ccPointPropertiesDlg::update2DZone(), ccGraphicalSegmentationTool::updatePolyLine(), and ccTracePolylineTool::updatePolyLineTip().
|
static |
Referenced by ccPointPropertiesDlg::activateAngleDisplay(), ccPointPropertiesDlg::activateDistanceDisplay(), ccPointPropertiesDlg::activatePointPropertiesDisplay(), ccPointPropertiesDlg::linkWith(), ccGraphicalSegmentationTool::pauseSegmentationMode(), ccTracePolylineTool::start(), ccGraphicalSegmentationTool::stop(), ccTracePolylineTool::stop(), and ccPointPropertiesDlg::stop().
|
static |
|
inlinestatic |
Definition at line 736 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 739 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 731 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 734 of file ecvDisplayTools.h.
|
signal |
Signal emitted when the selected object is translated by the user.
|
inlinestatic |
Definition at line 1238 of file ecvDisplayTools.h.
References pba::ProgramCPU::UpdateCamera().
Referenced by cloudViewer::ModelViewerWidget::ChangeFocusDistance().
|
static |
|
static |
Updates currently active items list (m_activeItems)
The items must be currently displayed in this context AND at least one of them must be under the mouse cursor.
|
inlinestatic |
Definition at line 1256 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1260 of file ecvDisplayTools.h.
|
static |
Center and zoom on a given bounding box.
If no bounding box is defined, the current displayed 'scene graph' bounding box is taken.
Referenced by define_ccDisplayTools(), cloudViewer::ModelViewerWidget::EndRender(), qCanupo2DViewDialog::updateZoom(), ccPointPairRegistrationDlg::zoomGlobalOnRegistrationEntities(), MainWindow::zoomOnEntities(), and MainWindow::zoomOnSelectedEntities().
|
static |
|
inlinestatic |
Definition at line 422 of file ecvDisplayTools.h.
References context.
|
inlinevirtual |
Definition at line 426 of file ecvDisplayTools.h.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 1262 of file ecvDisplayTools.h.
|
inlinevirtual |
Definition at line 1263 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1242 of file ecvDisplayTools.h.
Referenced by qAnimationDlg::applyViewport(), ecvMeasurementTool::removeInstance(), ccDBRoot::setData(), ccPropertiesTreeDelegate::setEditorData(), qAnimationDlg::textureAnimationPreview(), qAnimationDlg::textureAnimationRender(), ecvAnnotationsTool::toggleBox(), ecvAnnotationsTool::toggleOrigin(), and cloudViewer::ModelViewerWidget::update().
|
static |
|
static |
Updates current zoom.
Warning: has no effect in viewer-centered perspective mode
|
static |
Shortcut: returns whether viewer-based perspective mode is enabled.
Referenced by define_ccDisplayTools().
|
signal |
Signal emitted when the window 'model view' matrix is interactively changed
|
inlinestatic |
Definition at line 2033 of file ecvDisplayTools.h.
References size.
Referenced by cc2Point5DimEditor::update2DDisplayZoom().
|
signal |
Signal emitted when the zNear coef changes.
|
static |
|
inlinevirtual |
Definition at line 899 of file ecvDisplayTools.h.
|
inlinestatic |
Definition at line 1490 of file ecvDisplayTools.h.
Referenced by MainWindow::addToDB(), ccPointPairRegistrationDlg::init(), MainWindow::setGlobalZoom(), ccPointPairRegistrationDlg::showAlignedEntities(), and ccPointPairRegistrationDlg::showReferenceEntities().
|
static |
Default picking radius value.
Definition at line 1782 of file ecvDisplayTools.h.
| std::list<ccInteractor*> ecvDisplayTools::m_activeItems |
Currently active items.
Active items can be moved with mouse, etc.
Definition at line 1804 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_allowRectangularEntityPicking |
Whether rectangular picking is allowed or not.
Definition at line 1928 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_alwaysUseFBO |
Whether to always use FBO or only for GL filters.
Definition at line 1946 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_autoPickPivotAtCenter |
Whether the pivot point is automatically picked at the center of the screen (when possible)
Definition at line 1883 of file ecvDisplayTools.h.
| CCVector3d ecvDisplayTools::m_autoPivotCandidate |
Candidate pivot point (will be used when the mouse is released)
Definition at line 1889 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_autoRefresh |
Auto-refresh mode.
Definition at line 1901 of file ecvDisplayTools.h.
| double ecvDisplayTools::m_bbHalfDiag |
Half size of the displayed objects bounding-box.
Definition at line 1919 of file ecvDisplayTools.h.
| float ecvDisplayTools::m_bubbleViewFov_deg |
Bubble-view mode f.o.v. (degrees)
Definition at line 1972 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_bubbleViewModeEnabled |
Bubble-view mode state.
Definition at line 1969 of file ecvDisplayTools.h.
| double ecvDisplayTools::m_cameraToBBCenterDist |
Distance between the camera and the displayed objects bounding-box.
Definition at line 1917 of file ecvDisplayTools.h.
| CaptureModeOptions ecvDisplayTools::m_captureMode |
Display capturing mode options.
Definition at line 1995 of file ecvDisplayTools.h.
| std::vector<ClickableItem> ecvDisplayTools::m_clickableItems |
Currently displayed clickable items.
Definition at line 1840 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_clickableItemsVisible |
Whether clickable items are visible (= mouse over) or not.
Definition at line 1843 of file ecvDisplayTools.h.
|
protected |
Definition at line 1812 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_customLightEnabled |
Whether custom light is enabled or not.
Definition at line 1966 of file ecvDisplayTools.h.
| float ecvDisplayTools::m_customLightPos[4] |
| QTimer ecvDisplayTools::m_deferredPickingTimer |
Deferred picking.
Definition at line 1998 of file ecvDisplayTools.h.
| QStringList ecvDisplayTools::m_diagStrings |
Definition at line 2019 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_displayOverlayEntities |
Whether to display overlay entities or not (scale, tetrahedron, etc.)
Definition at line 1869 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_exclusiveFullscreen |
Wether exclusive full screen is enabled or not.
Definition at line 1875 of file ecvDisplayTools.h.
| QFont ecvDisplayTools::m_font |
Default font.
Definition at line 1981 of file ecvDisplayTools.h.
| ccHObject* ecvDisplayTools::m_globalDBRoot |
CV main DB.
Definition at line 1939 of file ecvDisplayTools.h.
| QRect ecvDisplayTools::m_glViewport |
viewport
Definition at line 1892 of file ecvDisplayTools.h.
| HotZone* ecvDisplayTools::m_hotZone |
Hot zone.
Definition at line 2012 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_ignoreMouseReleaseEvent |
Ignore next mouse release event.
Definition at line 2027 of file ecvDisplayTools.h.
| INTERACTION_FLAGS ecvDisplayTools::m_interactionFlags |
Current intercation flags.
Definition at line 1846 of file ecvDisplayTools.h.
| QString ecvDisplayTools::m_last_picked_id = QString() |
Definition at line 2006 of file ecvDisplayTools.h.
| CCVector3 ecvDisplayTools::m_last_picked_point |
Definition at line 2004 of file ecvDisplayTools.h.
| int ecvDisplayTools::m_last_point_index = -1 |
Definition at line 2005 of file ecvDisplayTools.h.
| qint64 ecvDisplayTools::m_lastClickTime_ticks |
Last click time (msec)
Definition at line 2009 of file ecvDisplayTools.h.
| QPoint ecvDisplayTools::m_lastMouseMovePos |
Definition at line 2017 of file ecvDisplayTools.h.
| QPoint ecvDisplayTools::m_lastMousePos |
Last mouse position.
Definition at line 2015 of file ecvDisplayTools.h.
| CCVector3d ecvDisplayTools::m_lockedRotationAxis |
Locked rotation axis.
Definition at line 1906 of file ecvDisplayTools.h.
|
protected |
Definition at line 1813 of file ecvDisplayTools.h.
| std::list<MessageToDisplay> ecvDisplayTools::m_messagesToDisplay |
List of messages to display.
Definition at line 219 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_mouseButtonPressed |
Whether the mouse is currently pressed or not.
Definition at line 2024 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_mouseMoved |
Whether the mouse (cursor) has moved after being pressed or not.
Definition at line 2022 of file ecvDisplayTools.h.
| ecvGui::ParamStruct ecvDisplayTools::m_overridenDisplayParameters |
Overridden display parameter.
Definition at line 1866 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_overridenDisplayParametersEnabled |
Whether display parameters are overidden for this window.
Definition at line 1872 of file ecvDisplayTools.h.
| PICKING_MODE ecvDisplayTools::m_pickingMode |
Definition at line 1848 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_pickingModeLocked |
Whether picking mode is locked or not.
Definition at line 1850 of file ecvDisplayTools.h.
| int ecvDisplayTools::m_pickRadius |
Picking radius (pixels)
Definition at line 1898 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_pivotSymbolShown |
Whether pivot symbol should be shown or not.
Definition at line 1925 of file ecvDisplayTools.h.
| PivotVisibility ecvDisplayTools::m_pivotVisibility |
Pivot symbol visibility.
Definition at line 1922 of file ecvDisplayTools.h.
| ecvViewportParameters ecvDisplayTools::m_preBubbleViewParameters |
Pre-bubble-view camera parameters (backup)
Definition at line 1975 of file ecvDisplayTools.h.
| ccGLMatrixd ecvDisplayTools::m_projMatd |
Projection matrix (GL style - double version)
Definition at line 1913 of file ecvDisplayTools.h.
| ccPolyline* ecvDisplayTools::m_rectPickingPoly |
Rectangular picking polyline.
Definition at line 1931 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_removeAllFlag |
Definition at line 1942 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_removeFlag |
Definition at line 1941 of file ecvDisplayTools.h.
| std::vector<removeInfo> ecvDisplayTools::m_removeInfos |
Definition at line 1943 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_rotationAxisLocked |
Wheter the rotation axis is locked or not.
Definition at line 1904 of file ecvDisplayTools.h.
| cloudViewer::geometry::LineSet* ecvDisplayTools::m_scale_lineset |
Definition at line 1933 of file ecvDisplayTools.h.
| qint64 ecvDisplayTools::m_scheduledFullRedrawTime |
Scheduled full redraw (no LOD)
Definition at line 1863 of file ecvDisplayTools.h.
| QTimer ecvDisplayTools::m_scheduleTimer |
Scheduler timer.
Definition at line 1861 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_shouldBeRefreshed |
Whether the display should be refreshed on next call to 'refresh'.
Definition at line 1886 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_showCursorCoordinates |
Whether to display the coordinates of the point below the cursor position
Definition at line 1879 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_showDebugTraces |
Debug traces visibility.
Definition at line 1895 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_sunLightEnabled |
Whether sun light is enabled or not.
Definition at line 1958 of file ecvDisplayTools.h.
| float ecvDisplayTools::m_sunLightPos[4] |
| QElapsedTimer ecvDisplayTools::m_timer |
Internal timer.
Definition at line 1853 of file ecvDisplayTools.h.
| qreal ecvDisplayTools::m_touchBaseDist |
Touch gesture initial distance.
Definition at line 1858 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_touchInProgress |
Touch event in progress.
Definition at line 1856 of file ecvDisplayTools.h.
| int ecvDisplayTools::m_uniqueID |
Unique ID.
Definition at line 1978 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_updateFBO |
Whether FBO should be updated (or simply displayed as a texture = faster!)
Definition at line 1950 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_validModelviewMatrix |
Whether the model veiw matrix is valid (or need to be recomputed)
Definition at line 1911 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_validProjectionMatrix |
Whether the projection matrix is valid (or need to be recomputed)
Definition at line 1915 of file ecvDisplayTools.h.
| ccGLMatrixd ecvDisplayTools::m_viewMatd |
Complete visualization matrix (GL style - double version)
Definition at line 1909 of file ecvDisplayTools.h.
| ecvViewportParameters ecvDisplayTools::m_viewportParams |
Viewport parameters (zoom, etc.)
Definition at line 1818 of file ecvDisplayTools.h.
| bool ecvDisplayTools::m_widgetClicked |
Flag to indicate that a VTK widget was clicked (to prevent deferred picking)
Definition at line 2031 of file ecvDisplayTools.h.
|
protected |
Definition at line 1814 of file ecvDisplayTools.h.
| ccHObject* ecvDisplayTools::m_winDBRoot |
Window own DB.
Definition at line 1936 of file ecvDisplayTools.h.
|
static |
Definition at line 2001 of file ecvDisplayTools.h.
Referenced by ccPointPropertiesDlg::exportCurrentLabel().
|
static |
Definition at line 2002 of file ecvDisplayTools.h.