VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
common
transform.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The RootGM package of the Virtual Geometry Model
5
// Copyright (C) 2007, Ivana Hrivnacova
6
// All rights reserved.
7
//
8
// For the licensing terms see vgm/LICENSE.
9
// Contact: ivana@ipno.in2p3.fr
10
// -----------------------------------------------------------------------
11
13
//
20
21
#ifndef ROOT_GM_TRANSFORM_H
22
#define ROOT_GM_TRANSFORM_H
23
24
#include "
VGM/common/Transform.h
"
25
26
#include "TGeoMatrix.h"
27
28
class
TGeoShape;
29
30
namespace
RootGM
{
31
32
// Root -> VGM
33
//
34
VGM::Transform
Transform
(
const
TGeoMatrix& matrix);
35
VGM::Transform
TransformScale
(
const
TGeoScale& scale);
36
VGM::Transform
Identity
();
37
bool
HasReflection
(
const
TGeoMatrix& matrix);
38
39
// VGM -> Root
40
TGeoMatrix*
CreateTransform
(
const
VGM::Transform
& transform);
41
TGeoScale*
CreateScale
(
const
VGM::Transform
& transform);
42
bool
HasReflection
(
const
VGM::Transform
& transform);
43
44
// Root special
45
TGeoHMatrix
Displacement
(TGeoShape* shape);
46
TGeoHMatrix
CompositeLeftTransform
(TGeoShape* shape);
47
48
void
fromToRotation
(
double
from[3],
double
to[3],
double
mtx[3][3]);
49
}
// namespace RootGM
50
51
#endif
// ROOT_GM_TRANSFORM_H
Transform.h
RootGM
VGM implementation for Root.
Definition
axis.h:28
RootGM::fromToRotation
void fromToRotation(double from[3], double to[3], double mtx[3][3])
Definition
transform.cxx:276
RootGM::CompositeLeftTransform
TGeoHMatrix CompositeLeftTransform(TGeoShape *shape)
Definition
transform.cxx:208
RootGM::CreateScale
TGeoScale * CreateScale(const VGM::Transform &transform)
Definition
transform.cxx:191
RootGM::CreateTransform
TGeoMatrix * CreateTransform(const VGM::Transform &transform)
Definition
transform.cxx:156
RootGM::Identity
VGM::Transform Identity()
RootGM::Displacement
TGeoHMatrix Displacement(TGeoShape *shape)
Definition
transform.cxx:228
RootGM::Transform
VGM::Transform Transform(const TGeoMatrix &matrix)
Definition
transform.cxx:39
RootGM::HasReflection
bool HasReflection(const TGeoMatrix &matrix)
Definition
transform.cxx:119
RootGM::TransformScale
VGM::Transform TransformScale(const TGeoScale &scale)
Definition
transform.cxx:106
VGM::Transform
std::vector< double > Transform
Definition
Transform.h:40
Generated on
for VGM by
1.17.0