defines a Texture2Transform node of VRML specifying properties of geometry and its appearance. This node defines a 2D transformation applied to texture coordinates. This affect the way textures are applied to the surfaces of subsequent shapes. Transformation consisits of(in order) a non-uniform scale about an arbitrary center point, a rotation about that same point, and a translation. This allows a user to change the size and position of the textures on the shape. By default : myTranslation (0 0) myRotation (0) myScaleFactor (1 1) myCenter (0 0)
More...
#include <Vrml_Texture2Transform.hxx>
defines a Texture2Transform node of VRML specifying properties of geometry and its appearance. This node defines a 2D transformation applied to texture coordinates. This affect the way textures are applied to the surfaces of subsequent shapes. Transformation consisits of(in order) a non-uniform scale about an arbitrary center point, a rotation about that same point, and a translation. This allows a user to change the size and position of the textures on the shape. By default : myTranslation (0 0) myRotation (0) myScaleFactor (1 1) myCenter (0 0)
◆ Vrml_Texture2Transform() [1/2]
Vrml_Texture2Transform::Vrml_Texture2Transform |
( |
| ) |
|
◆ Vrml_Texture2Transform() [2/2]
◆ Center()
gp_Vec2d Vrml_Texture2Transform::Center |
( |
| ) |
const |
◆ Print()
◆ Rotation()
◆ ScaleFactor()
gp_Vec2d Vrml_Texture2Transform::ScaleFactor |
( |
| ) |
const |
◆ SetCenter()
void Vrml_Texture2Transform::SetCenter |
( |
const gp_Vec2d & |
aCenter | ) |
|
◆ SetRotation()
void Vrml_Texture2Transform::SetRotation |
( |
const Standard_Real |
aRotation | ) |
|
◆ SetScaleFactor()
void Vrml_Texture2Transform::SetScaleFactor |
( |
const gp_Vec2d & |
aScaleFactor | ) |
|
◆ SetTranslation()
void Vrml_Texture2Transform::SetTranslation |
( |
const gp_Vec2d & |
aTranslation | ) |
|
◆ Translation()
gp_Vec2d Vrml_Texture2Transform::Translation |
( |
| ) |
const |
The documentation for this class was generated from the following file: