|
Visual Computing Library
devel
|
The TexCoordIndexed class represents a texture coordinate with an index. More...
#include <vclib/space/core/tex_coord_indexed.h>

Public Member Functions | |
| template<typename S > | |
| auto | cast () const |
| void | deserialize (std::istream &is) |
| ushort & | index () |
| ushort | index () const |
| auto | operator<=> (const TexCoordIndexed &t1) const =default |
| void | serialize (std::ostream &os) const |
| void | set (const Scalar &s1, const Scalar &s2, ushort index) |
| void | set (Scalar u, Scalar v) |
| TexCoordIndexed (const Base &base, ushort index) | |
| TexCoordIndexed (const Point2< Scalar > &p, ushort index) | |
| TexCoordIndexed (const Scalar &s1, const Scalar &s2, ushort index) | |
Public Member Functions inherited from vcl::TexCoord< Scalar > | |
| template<typename S > | |
| auto | cast () const |
| void | deserialize (std::istream &is) |
| Scalar & | operator() (uint i) |
| const Scalar & | operator() (uint i) const |
| auto | operator<=> (const TexCoord &t1) const =default |
| Scalar & | operator[] (uint i) |
| const Scalar & | operator[] (uint i) const |
| void | serialize (std::ostream &os) const |
| void | set (Scalar u, Scalar v) |
| void | setU (Scalar s) |
| void | setV (Scalar s) |
| TexCoord (const Point2< Scalar > &p) | |
| TexCoord (const Scalar &s1, const Scalar &s2) | |
| Scalar & | u () |
| Scalar | u () const |
| Scalar & | v () |
| Scalar | v () const |
Private Types | |
| using | Base = TexCoord< Scalar > |
Private Attributes | |
| ushort | mIndex = 0 |
Additional Inherited Members | |
Public Types inherited from vcl::TexCoord< Scalar > | |
| using | ScalarType = Scalar |
The TexCoordIndexed class represents a texture coordinate with an index.
The TexCoordIndexed class represents a texture coordinate with an index. The class is a specialization of the TexCoord class template, where the two components of the texture coordinate are named u and v. The class adds an index member variable that represents the index of the texture coordinate.
| Scalar | The scalar type of the texture coordinate components. |