Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Graphic3d_Texture1Dsegment Class Reference

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>

Inheritance diagram for Graphic3d_Texture1Dsegment:
Inheritance graph
[legend]

Public Member Functions

 Graphic3d_Texture1Dsegment (const Handle< Graphic3d_StructureManager > &VM, const Standard_CString FileName)
 Creates a texture from a file

 Graphic3d_Texture1Dsegment (const Handle< Graphic3d_StructureManager > &VM, const Graphic3d_NameOfTexture1D NOT)
 Creates a texture from a predefined texture name set.

void SetSegment (const Standard_ShortReal X1, const Standard_ShortReal Y1, const Standard_ShortReal Z1, const Standard_ShortReal X2, const Standard_ShortReal Y2, const Standard_ShortReal Z2)
 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 &X1, Standard_ShortReal &Y1, Standard_ShortReal &Z1, Standard_ShortReal &X2, Standard_ShortReal &Y2, Standard_ShortReal &Z2) 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: