Open CASCADE Technology  7.7.0
Public Member Functions

Vrml_Texture2 Class Reference

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_SFImageImage () const
 
void SetWrapS (const Vrml_Texture2Wrap aWrapS)
 
Vrml_Texture2Wrap WrapS () const
 
void SetWrapT (const Vrml_Texture2Wrap aWrapT)
 
Vrml_Texture2Wrap WrapT () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

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)

Constructor & Destructor Documentation

◆ Vrml_Texture2() [1/2]

Vrml_Texture2::Vrml_Texture2 ( )

◆ Vrml_Texture2() [2/2]

Vrml_Texture2::Vrml_Texture2 ( const TCollection_AsciiString aFilename,
const Handle< Vrml_SFImage > &  aImage,
const Vrml_Texture2Wrap  aWrapS,
const Vrml_Texture2Wrap  aWrapT 
)

Member Function Documentation

◆ Filename()

TCollection_AsciiString Vrml_Texture2::Filename ( ) const

◆ Image()

Handle< Vrml_SFImage > Vrml_Texture2::Image ( ) const

◆ Print()

Standard_OStream& Vrml_Texture2::Print ( Standard_OStream anOStream) const

◆ SetFilename()

void Vrml_Texture2::SetFilename ( const TCollection_AsciiString aFilename)

◆ SetImage()

void Vrml_Texture2::SetImage ( const Handle< Vrml_SFImage > &  aImage)

◆ SetWrapS()

void Vrml_Texture2::SetWrapS ( const Vrml_Texture2Wrap  aWrapS)

◆ SetWrapT()

void Vrml_Texture2::SetWrapT ( const Vrml_Texture2Wrap  aWrapT)

◆ WrapS()

Vrml_Texture2Wrap Vrml_Texture2::WrapS ( ) const

◆ WrapT()

Vrml_Texture2Wrap Vrml_Texture2::WrapT ( ) const

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