0027796: Visualization - allow 3D objects with Graphic3d_TMF_2d flag
[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
f24125b9 19typedef Standard_Integer Graphic3d_TransModeFlags;
7fd59977 20
21enum {
22 Graphic3d_TMF_None = 0x0000,
23 Graphic3d_TMF_PanPers = 0x0001,
24 Graphic3d_TMF_ZoomPers = 0x0002,
25 Graphic3d_TMF_RotatePers = 0x0008,
26 Graphic3d_TMF_TriedronPers = 0x0020,
af65fb19 27 Graphic3d_TMF_2d = 0x0040,
7fd59977 28 Graphic3d_TMF_FullPers = Graphic3d_TMF_PanPers | Graphic3d_TMF_ZoomPers | Graphic3d_TMF_RotatePers
29};
30
31
32#endif