This class provides the implementation
of a 1D texture applyable along a segment.
You might use the SetSegment() method
to set the way the texture is "streched" on facets.
#include <Graphic3d_Texture1Dsegment.hxx>
Public Member Functions |
| Graphic3d_Texture1Dsegment (const TCollection_AsciiString &theFileName) |
| Creates a texture from a file
|
| Graphic3d_Texture1Dsegment (const Graphic3d_NameOfTexture1D theNOT) |
| Creates a texture from a predefined texture name set.
|
void | SetSegment (const Standard_ShortReal theX1, const Standard_ShortReal theY1, const Standard_ShortReal theZ1, const Standard_ShortReal theX2, const Standard_ShortReal theY2, const Standard_ShortReal theZ2) |
| Sets the texture application bounds. Defines the way
the texture is stretched across facets.
Default values are <0.0, 0.0, 0.0> , <0.0, 0.0, 1.0>
|
void | Segment (Standard_ShortReal &theX1, Standard_ShortReal &theY1, Standard_ShortReal &theZ1, Standard_ShortReal &theX2, Standard_ShortReal &theY2, Standard_ShortReal &theZ2) const |
| Returns the values of the current segment X1, Y1, Z1 , X2, Y2, Z2.
|
Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: