Open CASCADE Technology
6.9.0
|
defines a Texture2 node of VRML specifying properties of geometry and its appearance. This property node defines a texture map and parameters for that map The texture can be read from the URL specified by the filename field. To turn off texturing, set the filename field to an empty string (""). Textures can alsobe specified inline by setting the image field to contain the texture data. By default : myFilename ("") myImage (0 0 0) myWrapS (Vrml_REPEAT) myWrapT (Vrml_REPEAT) More...
#include <Vrml_Texture2.hxx>
Public Member Functions | |
Vrml_Texture2 () | |
Vrml_Texture2 (const TCollection_AsciiString &aFilename, const Handle< Vrml_SFImage > &aImage, const Vrml_Texture2Wrap aWrapS, const Vrml_Texture2Wrap aWrapT) | |
void | SetFilename (const TCollection_AsciiString &aFilename) |
TCollection_AsciiString | Filename () const |
void | SetImage (const Handle< Vrml_SFImage > &aImage) |
Handle< Vrml_SFImage > | Image () const |
void | SetWrapS (const Vrml_Texture2Wrap aWrapS) |
Vrml_Texture2Wrap | WrapS () const |
void | SetWrapT (const Vrml_Texture2Wrap aWrapT) |
Vrml_Texture2Wrap | WrapT () const |
Standard_OStream & | Print (Standard_OStream &anOStream) const |
defines a Texture2 node of VRML specifying properties of geometry and its appearance. This property node defines a texture map and parameters for that map The texture can be read from the URL specified by the filename field. To turn off texturing, set the filename field to an empty string (""). Textures can alsobe specified inline by setting the image field to contain the texture data. By default : myFilename ("") myImage (0 0 0) myWrapS (Vrml_REPEAT) myWrapT (Vrml_REPEAT)
Vrml_Texture2::Vrml_Texture2 | ( | ) |
Vrml_Texture2::Vrml_Texture2 | ( | const TCollection_AsciiString & | aFilename, |
const Handle< Vrml_SFImage > & | aImage, | ||
const Vrml_Texture2Wrap | aWrapS, | ||
const Vrml_Texture2Wrap | aWrapT | ||
) |
TCollection_AsciiString Vrml_Texture2::Filename | ( | ) | const |
Handle< Vrml_SFImage > Vrml_Texture2::Image | ( | ) | const |
Standard_OStream& Vrml_Texture2::Print | ( | Standard_OStream & | anOStream | ) | const |
void Vrml_Texture2::SetFilename | ( | const TCollection_AsciiString & | aFilename | ) |
void Vrml_Texture2::SetImage | ( | const Handle< Vrml_SFImage > & | aImage | ) |
void Vrml_Texture2::SetWrapS | ( | const Vrml_Texture2Wrap | aWrapS | ) |
void Vrml_Texture2::SetWrapT | ( | const Vrml_Texture2Wrap | aWrapT | ) |
Vrml_Texture2Wrap Vrml_Texture2::WrapS | ( | ) | const |
Vrml_Texture2Wrap Vrml_Texture2::WrapT | ( | ) | const |