Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
Public 멤버 함수 | 정적 Public 속성 | Protected 멤버 함수 | Protected 속성 | 모든 멤버 목록
HepGeom::Rotate3D 클래스 참조

#include <Transform3D.h>

HepGeom::Rotate3D에 대한 상속 다이어그램 :
HepGeom::Transform3D HepGeom::RotateX3D HepGeom::RotateY3D HepGeom::RotateZ3D

Public 멤버 함수

 Rotate3D ()
 
 Rotate3D (const CLHEP::HepRotation &m)
 
 Rotate3D (double a, const Point3D< double > &p1, const Point3D< double > &p2)
 
 Rotate3D (double a, const Vector3D< double > &v)
 
 Rotate3D (const Point3D< double > &fr1, const Point3D< double > &fr2, const Point3D< double > &to1, const Point3D< double > &to2)
 
const Transform3D_row operator[] (int) const
 
double operator() (int, int) const
 
double xx () const
 
double xy () const
 
double xz () const
 
double yx () const
 
double yy () const
 
double yz () const
 
double zx () const
 
double zy () const
 
double zz () const
 
double dx () const
 
double dy () const
 
double dz () const
 
void setIdentity ()
 
Transform3D inverse () const
 
Transform3D operator* (const Transform3D &b) const
 
void getDecomposition (Scale3D &scale, Rotate3D &rotation, Translate3D &translation) const
 
bool isNear (const Transform3D &t, double tolerance=2.2E-14) const
 
CLHEP::HepRotation getRotation () const
 
CLHEP::Hep3Vector getTranslation () const
 
bool operator== (const Transform3D &transform) const
 
bool operator!= (const Transform3D &transform) const
 

정적 Public 속성

static DLL_API const Transform3D Identity = Transform3D ()
 

Protected 멤버 함수

void setTransform (double XX, double XY, double XZ, double DX, double YX, double YY, double YZ, double DY, double ZX, double ZY, double ZZ, double DZ)
 

Protected 속성

double xx_
 
double xy_
 
double xz_
 
double dx_
 
double yx_
 
double yy_
 
double yz_
 
double dy_
 
double zx_
 
double zy_
 
double zz_
 
double dz_
 

상세한 설명

Constructs a rotation transformation. This class provides additional constructors for Transform3D and should not be used as a separate class.

Example of use:

* m = Rotate3D(30.*deg, HepVector3D(1.,1.,1.));
*
작성자
Evgue.nosp@m.ni.T.nosp@m.chern.nosp@m.iaev.nosp@m.@cern.nosp@m..ch

Transform3D.h 파일의 374 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

HepGeom::Rotate3D::Rotate3D ( )
inline

Default constructor: sets the Identity transformation.

Transform3D.h 파일의 378 번째 라인에서 정의되었습니다.

HepGeom::Rotate3D::Rotate3D ( const CLHEP::HepRotation m)
inline

Constructor from CLHEP::HepRotation.

HepGeom::Rotate3D::Rotate3D ( double  a,
const Point3D< double > &  p1,
const Point3D< double > &  p2 
)

Constructor from angle and axis given by two points.

매개변수
aangle of rotation
p1begin point of the axis
p2end point of the axis

Transform3D.cc 파일의 231 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::setTransform(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), HepGeom::BasicVector3D< T >::z().

HepGeom::Rotate3D::Rotate3D ( double  a,
const Vector3D< double > &  v 
)
inline

Constructor from angle and axis.

매개변수
aangle of rotation
vaxis of rotation
HepGeom::Rotate3D::Rotate3D ( const Point3D< double > &  fr1,
const Point3D< double > &  fr2,
const Point3D< double > &  to1,
const Point3D< double > &  to2 
)
inline

Constructor for rotation given by original and rotated position of two points. It is assumed that there is no reflection.

매개변수
fr1original position of 1st point
fr2original position of 2nd point
to1rotated position of 1st point
to2rotated position of 2nd point

멤버 함수 문서화

double HepGeom::Transform3D::dx ( ) const
inlineinherited
double HepGeom::Transform3D::dy ( ) const
inlineinherited
double HepGeom::Transform3D::dz ( ) const
inlineinherited
void HepGeom::Transform3D::getDecomposition ( Scale3D scale,
Rotate3D rotation,
Translate3D translation 
) const
inherited

Decomposition of general transformation. This function gets decomposition of the transformation in three consequentive specific transformations: Scale3D, then Rotate3D, then Translate3, i.e.

* Transform3D = Translate3D * Rotate3D * Scale3D
*
매개변수
scaleoutput: scaling transformation; if there was a reflection, then scale factor for z-component (scale(2,2)) will be negative.
rotationoutput: rotation transformaion.
translationoutput: translation transformaion.

Transform3D.cc 파일의 174 번째 라인에서 정의되었습니다.

다음을 참조함 : scale.

다음에 의해서 참조됨 : G4AssemblyVolume::AddPlacedAssembly(), G4AssemblyVolume::AddPlacedVolume(), G4Voxelizer::BuildVoxelLimits(), G4PhysicalVolumeModel::DescribeAndDescend(), G4MultiUnion::GetGlobalVector(), G4MultiUnion::GetLocalVector(), G4GDMLWriteSolids::MultiUnionWrite(), operator<<(), G4GDMLWriteStructure::PhysvolWrite(), G4ReflectionFactory::Place().

CLHEP::HepRotation HepGeom::Transform3D::getRotation ( ) const
inlineinherited
CLHEP::Hep3Vector HepGeom::Transform3D::getTranslation ( ) const
inlineinherited
Transform3D HepGeom::Transform3D::inverse ( ) const
inherited
bool HepGeom::Transform3D::isNear ( const Transform3D t,
double  tolerance = 2.2E-14 
) const
inherited
bool HepGeom::Transform3D::operator!= ( const Transform3D transform) const
inlineinherited

Test for inequality.

Transform3D.h 파일의 353 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::operator==().

double HepGeom::Transform3D::operator() ( int  i,
int  j 
) const
inherited
Transform3D HepGeom::Transform3D::operator* ( const Transform3D b) const
inherited
bool HepGeom::Transform3D::operator== ( const Transform3D transform) const
inherited
const Transform3D_row HepGeom::Transform3D::operator[] ( int  ) const
inlineinherited

Returns object of the helper class for C-style subscripting r[i][j]

void HepGeom::Transform3D::setIdentity ( )
inlineinherited
void HepGeom::Transform3D::setTransform ( double  XX,
double  XY,
double  XZ,
double  DX,
double  YX,
double  YY,
double  YZ,
double  DY,
double  ZX,
double  ZY,
double  ZZ,
double  DZ 
)
inlineprotectedinherited
double HepGeom::Transform3D::xx ( ) const
inlineinherited
double HepGeom::Transform3D::xy ( ) const
inlineinherited
double HepGeom::Transform3D::xz ( ) const
inlineinherited
double HepGeom::Transform3D::yx ( ) const
inlineinherited
double HepGeom::Transform3D::yy ( ) const
inlineinherited
double HepGeom::Transform3D::yz ( ) const
inlineinherited
double HepGeom::Transform3D::zx ( ) const
inlineinherited
double HepGeom::Transform3D::zy ( ) const
inlineinherited
double HepGeom::Transform3D::zz ( ) const
inlineinherited

멤버 데이타 문서화

double HepGeom::Transform3D::dx_
protectedinherited
double HepGeom::Transform3D::dy_
protectedinherited
double HepGeom::Transform3D::dz_
protectedinherited
const Transform3D HepGeom::Transform3D::Identity = Transform3D ()
staticinherited

Global identity transformation.

Transform3D.h 파일의 197 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : G4GMocrenFileSceneHandler::Detector::clear(), G4GDMLWriteStructure::TraverseVolumeTree(), G4GDMLWrite::Write().

double HepGeom::Transform3D::xx_
protectedinherited
double HepGeom::Transform3D::xy_
protectedinherited
double HepGeom::Transform3D::xz_
protectedinherited
double HepGeom::Transform3D::yx_
protectedinherited
double HepGeom::Transform3D::yy_
protectedinherited
double HepGeom::Transform3D::yz_
protectedinherited
double HepGeom::Transform3D::zx_
protectedinherited
double HepGeom::Transform3D::zy_
protectedinherited
double HepGeom::Transform3D::zz_
protectedinherited

이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: