0031687: Draw Harness, ViewerTest - extend command vrenderparams with option updating...
[occt.git] / src / AIS / AIS_RotationMode.hxx
CommitLineData
49582f9d 1// Copyright (c) 2019 OPEN CASCADE SAS
2//
3// This file is part of Open CASCADE Technology software library.
4//
5// This library is free software; you can redistribute it and/or modify it under
6// the terms of the GNU Lesser General Public License version 2.1 as published
7// by the Free Software Foundation, with special exception defined in the file
8// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9// distribution for complete text of the license and disclaimer of any warranty.
10//
11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
13
14#ifndef _AIS_RotationMode_HeaderFile
15#define _AIS_RotationMode_HeaderFile
16
17//! Camera rotation mode.
18enum AIS_RotationMode
19{
20 AIS_RotationMode_BndBoxActive, //!< default OCCT rotation
21 AIS_RotationMode_PickLast, //!< rotate around last picked point
22 AIS_RotationMode_PickCenter, //!< rotate around point at the center of window
23 AIS_RotationMode_CameraAt, //!< rotate around camera center
24 AIS_RotationMode_BndBoxScene, //!< rotate around scene center
25};
26
27enum
28{
29 AIS_RotationMode_LOWER = 0,
30 AIS_RotationMode_UPPER = AIS_RotationMode_BndBoxScene,
31};
32
33#endif // _AIS_RotationMode_HeaderFile