Open CASCADE Technology  6.9.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::Vrml_Transform ( )
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

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

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