ATLAS Offline Software
graphics
VP1
VP1HEPVis
VP1HEPVis
SbRotation.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
/*
8
*
9
* New file for VP1HEPVis
10
*
11
* taken from: http://fossies.org/dox/osc_vis_source_16.11.6/HEPVis_2include_2HEPVis_2SbRotation_8h_source.html
12
*
13
* R.M. Bianchi <rbianchi@cern.ch>
14
*
15
* 12.12.2012
16
*
17
*
18
*/
19
20
//---
21
22
#ifndef HEPVis_SbRotation_h
23
#define HEPVis_SbRotation_h
24
25
// Code taken from CoinGL/SbRotation but by using doubles instead of floats.
26
// It is used by SbPolyhedron::Transform.
27
28
#include <Inventor/C/errors/debugerror.h>
29
#include <Inventor/SbVec4d.h>
30
31
class
SbVec3d;
32
33
namespace
HEPVis
{
34
35
class
SbRotation
{
36
public
:
37
SbRotation
();
38
SbRotation
(
const
SbVec3d&
axis
,
double
radians);
39
SbRotation
(
double
a11,
double
a12,
double
a13,
double
a14,
40
double
a21,
double
a22,
double
a23,
double
a24,
41
double
a31,
double
a32,
double
a33,
double
a34,
42
double
a41,
double
a42,
double
a43,
double
a44);
43
public
:
44
//SbRotation& operator*=(const double s);
45
void
multVec
(
const
SbVec3d&
src
,SbVec3d& dst)
const
;
46
private
:
47
SbVec4d
m_quat
;
48
};
49
50
}
51
52
#endif
WriteCellNoiseToCool.src
src
Definition:
WriteCellNoiseToCool.py:513
yodamerge_tmp.axis
list axis
Definition:
yodamerge_tmp.py:241
HEPVis::SbRotation::SbRotation
SbRotation()
Definition:
SbRotation.cxx:46
HEPVis::SbRotation::m_quat
SbVec4d m_quat
Definition:
SbRotation.h:47
HEPVis
Definition:
SbPlane.h:38
HEPVis::SbRotation::multVec
void multVec(const SbVec3d &src, SbVec3d &dst) const
Definition:
SbRotation.cxx:119
HEPVis::SbRotation
Definition:
SbRotation.h:35
Generated on Sun Dec 22 2024 21:17:32 for ATLAS Offline Software by
1.8.18