Description

coordinate transformations

   
   
Geometry::Vec3 localDirToWorldDir(const Node & node, const Geometry::Vec3 & localDir)
   
Geometry::Vec3 localDirToRelDir(const Node & node, const Geometry::Vec3 & localDir)
   
Geometry::Vec3 localPosToWorldPos(const Node & node, const Geometry::Vec3 & localPos)
   
Geometry::Vec3 localPosToRelPos(const Node & node, const Geometry::Vec3 & localPos)
   
Geometry::Vec3 relDirToWorldDir(const Node & node, const Geometry::Vec3 & relDir)
   
Geometry::Vec3 relDirToLocalDir(const Node & node, const Geometry::Vec3 & relDir)
   
Geometry::Vec3 relPosToWorldPos(const Node & node, const Geometry::Vec3 & relPos)
   
Geometry::Vec3 relPosToLocalPos(const Node & node, const Geometry::Vec3 & relPos)
   
Geometry::Vec3 worldDirToLocalDir(const Node & node, const Geometry::Vec3 & worldDir)
   
Geometry::Vec3 worldDirToRelDir(const Node & node, const Geometry::Vec3 & worldDir)
   
Geometry::Vec3 worldPosToLocalPos(const Node & node, const Geometry::Vec3 & worldPos)
   
Geometry::Vec3 worldPosToRelPos(const Node & node, const Geometry::Vec3 & worldPos)

Node transformations

   
   
Geometry::SRT worldSRTToRelSRT(const Node & node, const Geometry::SRT & worldSRT)
   
void rotateAroundLocalAxis( Node & node, const Geometry::Angle & angle, const Geometry::Line3 & localAxis)
   
void rotateAroundRelAxis( Node & node, const Geometry::Angle & angle, const Geometry::Line3 & relAxis)
   
void rotateAroundWorldAxis( Node & node, const Geometry::Angle & angle, const Geometry::Line3 & worldAxis)
   
void rotateToWorldDir( Node & node, const Geometry::Vec3 & worldDir)

Documentation

function
MinSG::Transformations::localDirToWorldDir

public
     
     
Geometry::Vec3 localDirToWorldDir( const Node & node,
  const Geometry::Vec3 & localDir
)    

Defined in MinSG/Core/Transformations.h:26


function
MinSG::Transformations::localDirToRelDir

public
     
     
Geometry::Vec3 localDirToRelDir( const Node & node,
  const Geometry::Vec3 & localDir
)    

Defined in MinSG/Core/Transformations.h:27


function
MinSG::Transformations::localPosToWorldPos

public
     
     
Geometry::Vec3 localPosToWorldPos( const Node & node,
  const Geometry::Vec3 & localPos
)    

Defined in MinSG/Core/Transformations.h:28


function
MinSG::Transformations::localPosToRelPos

public
     
     
Geometry::Vec3 localPosToRelPos( const Node & node,
  const Geometry::Vec3 & localPos
)    

Defined in MinSG/Core/Transformations.h:29


function
MinSG::Transformations::relDirToWorldDir

public
     
     
Geometry::Vec3 relDirToWorldDir( const Node & node,
  const Geometry::Vec3 & relDir
)    

Defined in MinSG/Core/Transformations.h:30


function
MinSG::Transformations::relDirToLocalDir

public
     
     
Geometry::Vec3 relDirToLocalDir( const Node & node,
  const Geometry::Vec3 & relDir
)    

Defined in MinSG/Core/Transformations.h:31


function
MinSG::Transformations::relPosToWorldPos

public
     
     
Geometry::Vec3 relPosToWorldPos( const Node & node,
  const Geometry::Vec3 & relPos
)    

Defined in MinSG/Core/Transformations.h:32


function
MinSG::Transformations::relPosToLocalPos

public
     
     
Geometry::Vec3 relPosToLocalPos( const Node & node,
  const Geometry::Vec3 & relPos
)    

Defined in MinSG/Core/Transformations.h:33


function
MinSG::Transformations::worldDirToLocalDir

public
     
     
Geometry::Vec3 worldDirToLocalDir( const Node & node,
  const Geometry::Vec3 & worldDir
)    

Defined in MinSG/Core/Transformations.h:34


function
MinSG::Transformations::worldDirToRelDir

public
     
     
Geometry::Vec3 worldDirToRelDir( const Node & node,
  const Geometry::Vec3 & worldDir
)    

Defined in MinSG/Core/Transformations.h:35


function
MinSG::Transformations::worldPosToLocalPos

public
     
     
Geometry::Vec3 worldPosToLocalPos( const Node & node,
  const Geometry::Vec3 & worldPos
)    

Defined in MinSG/Core/Transformations.h:36


function
MinSG::Transformations::worldPosToRelPos

public
     
     
Geometry::Vec3 worldPosToRelPos( const Node & node,
  const Geometry::Vec3 & worldPos
)    

Defined in MinSG/Core/Transformations.h:37


function
MinSG::Transformations::worldSRTToRelSRT

public
     
     
Geometry::SRT worldSRTToRelSRT( const Node & node,
  const Geometry::SRT & worldSRT
)    

Defined in MinSG/Core/Transformations.h:49


function
MinSG::Transformations::rotateAroundLocalAxis

public
     
     
void rotateAroundLocalAxis( Node & node,
  const Geometry::Angle & angle,
  const Geometry::Line3 & localAxis
)    

Defined in MinSG/Core/Transformations.h:51


function
MinSG::Transformations::rotateAroundRelAxis

public
     
     
void rotateAroundRelAxis( Node & node,
  const Geometry::Angle & angle,
  const Geometry::Line3 & relAxis
)    

Defined in MinSG/Core/Transformations.h:52


function
MinSG::Transformations::rotateAroundWorldAxis

public
     
     
void rotateAroundWorldAxis( Node & node,
  const Geometry::Angle & angle,
  const Geometry::Line3 & worldAxis
)    

Defined in MinSG/Core/Transformations.h:53


function
MinSG::Transformations::rotateToWorldDir

public
     
     
void rotateToWorldDir( Node & node,
  const Geometry::Vec3 & worldDir
)    

Note: As no up vector is specified, the rotation is not fully determined (so just see what happens…)

Defined in MinSG/Core/Transformations.h:56