Open CASCADE Technology  7.4.0
Public Member Functions

Vrml_Transform Class Reference

defines a Transform of VRML specifying transform properties. This node defines a geometric 3D transformation consisting of (in order) a (possibly) non-uniform scale about an arbitrary point, a rotation about an arbitrary point and axis and translation. By default : myTranslation (0,0,0) myRotation (0,0,1,0) myScaleFactor (1,1,1) myScaleOrientation (0,0,1,0) myCenter (0,0,0) More...

#include <Vrml_Transform.hxx>

Public Member Functions

 Vrml_Transform ()
 
 Vrml_Transform (const gp_Vec &aTranslation, const Vrml_SFRotation &aRotation, const gp_Vec &aScaleFactor, const Vrml_SFRotation &aScaleOrientation, const gp_Vec &aCenter)
 
void SetTranslation (const gp_Vec &aTranslation)
 
gp_Vec Translation () const
 
void SetRotation (const Vrml_SFRotation &aRotation)
 
Vrml_SFRotation Rotation () const
 
void SetScaleFactor (const gp_Vec &aScaleFactor)
 
gp_Vec ScaleFactor () const
 
void SetScaleOrientation (const Vrml_SFRotation &aScaleOrientation)
 
Vrml_SFRotation ScaleOrientation () const
 
void SetCenter (const gp_Vec &aCenter)
 
gp_Vec Center () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

defines a Transform of VRML specifying transform properties. This node defines a geometric 3D transformation consisting of (in order) a (possibly) non-uniform scale about an arbitrary point, a rotation about an arbitrary point and axis and translation. By default : myTranslation (0,0,0) myRotation (0,0,1,0) myScaleFactor (1,1,1) myScaleOrientation (0,0,1,0) myCenter (0,0,0)

Constructor & Destructor Documentation

◆ Vrml_Transform() [1/2]

Vrml_Transform::Vrml_Transform ( )

◆ Vrml_Transform() [2/2]

Vrml_Transform::Vrml_Transform ( const gp_Vec aTranslation,
const Vrml_SFRotation aRotation,
const gp_Vec aScaleFactor,
const Vrml_SFRotation aScaleOrientation,
const gp_Vec aCenter 
)

Member Function Documentation

◆ Center()

gp_Vec Vrml_Transform::Center ( ) const

◆ Print()

Standard_OStream& Vrml_Transform::Print ( Standard_OStream anOStream) const

◆ Rotation()

Vrml_SFRotation Vrml_Transform::Rotation ( ) const

◆ ScaleFactor()

gp_Vec Vrml_Transform::ScaleFactor ( ) const

◆ ScaleOrientation()

Vrml_SFRotation Vrml_Transform::ScaleOrientation ( ) const

◆ SetCenter()

void Vrml_Transform::SetCenter ( const gp_Vec aCenter)

◆ SetRotation()

void Vrml_Transform::SetRotation ( const Vrml_SFRotation aRotation)

◆ SetScaleFactor()

void Vrml_Transform::SetScaleFactor ( const gp_Vec aScaleFactor)

◆ SetScaleOrientation()

void Vrml_Transform::SetScaleOrientation ( const Vrml_SFRotation aScaleOrientation)

◆ SetTranslation()

void Vrml_Transform::SetTranslation ( const gp_Vec aTranslation)

◆ Translation()

gp_Vec Vrml_Transform::Translation ( ) const

The documentation for this class was generated from the following file: