0027860: Visualization - clean up Transformation Persistence API
[occt.git] / src / Graphic3d / Graphic3d_TransModeFlags.hxx
CommitLineData
b311480e 1// Created on: 2004-10-29
2// Created by: Alexander BORODIN
973c2be1 3// Copyright (c) 2004-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
7fd59977 15
16#ifndef Graphic3d_TRANS_MODE_FLAGS_HXX
17#define Graphic3d_TRANS_MODE_FLAGS_HXX
18
778cd667 19//! Transform Persistence Mode defining whether to lock in object position, rotation and / or zooming relative to camera position.
20enum Graphic3d_TransModeFlags
21{
22 Graphic3d_TMF_None = 0x0000, //!< no persistence attributes (normal 3D object)
23 Graphic3d_TMF_ZoomPers = 0x0002, //!< object does not resize
24 Graphic3d_TMF_RotatePers = 0x0008, //!< object does not rotate;
25 Graphic3d_TMF_TriedronPers = 0x0020, //!< object behaves like trihedron - it is fixed at the corner of view and does not resizing (but rotating)
26 Graphic3d_TMF_2d = 0x0040, //!< object is defined in 2D screen coordinates (pixels) and does not resize, pan and rotate
27 Graphic3d_TMF_ZoomRotatePers = Graphic3d_TMF_ZoomPers
28 | Graphic3d_TMF_RotatePers //!< object doesn't resize and rotate
7fd59977 29};
30
7fd59977 31#endif