Castor3D  ..
Classes | Public Member Functions | Static Public Member Functions | List of all members
Castor3D::Vertex Class Reference

Representation of a vertex. More...

Classes

class  TextLoader
 Vertex loader. More...
 

Public Member Functions

C3D_API Vertex (BufferElementGroup &p_group)
 Constructor. More...
 
C3D_API Vertex (Vertex const &p_source)
 Copy constructor. More...
 
C3D_API Vertexoperator= (Vertex const &p_source)
 Copy assignment operator. More...
 
virtual C3D_API ~Vertex ()
 Destructor. More...
 
void SetPosition (Castor::Coords3r const &val)
 Sets the vertex position. More...
 
void SetPosition (Castor::Point3r const &val)
 Sets the vertex position. More...
 
void SetPosition (real x, real y, real z)
 Sets the vertex position. More...
 
void SetPosition (real const *p_coords)
 Sets the vertex position. More...
 
void SetNormal (Castor::Coords3r const &val)
 Sets the vertex normal. More...
 
void SetNormal (Castor::Point3r const &val)
 Sets the vertex normal. More...
 
void SetNormal (real x, real y, real z)
 Sets the vertex normal. More...
 
void SetNormal (real const *p_coords)
 Sets the vertex normal. More...
 
void SetTangent (Castor::Coords3r const &val)
 Sets the vertex tangent. More...
 
void SetTangent (Castor::Point3r const &val)
 Sets the vertex tangent. More...
 
void SetTangent (real x, real y, real z)
 Sets the vertex tangent. More...
 
void SetTangent (real const *p_coords)
 Sets the vertex tangent. More...
 
void SetBitangent (Castor::Coords3r const &val)
 Sets the vertex bitangent. More...
 
void SetBitangent (Castor::Point3r const &val)
 Sets the vertex bitangent. More...
 
void SetBitangent (real x, real y, real z)
 Sets the vertex bitangent. More...
 
void SetBitangent (real const *p_coords)
 Sets the vertex bitangent. More...
 
void SetTexCoord (Castor::Coords3r const &val)
 Sets the vertex texture coordinates. More...
 
void SetTexCoord (Castor::Point3r const &val)
 Sets the vertex texture coordinates. More...
 
void SetTexCoord (real x, real y, real z=0)
 Sets the vertex texture coordinates. More...
 
void SetTexCoord (real const *p_coords)
 Sets the vertex texture coordinates. More...
 
Castor::Coords3r & GetPosition (Castor::Coords3r &p_ptPos)
 Retrieves the vertex position. More...
 
Castor::Point3r & GetPosition (Castor::Point3r &p_ptPos) const
 Retrieves the vertex position. More...
 
Castor::Coords3r & GetNormal (Castor::Coords3r &p_ptNml)
 Retrieves the vertex normal. More...
 
Castor::Point3r & GetNormal (Castor::Point3r &p_ptNml) const
 Retrieves the vertex normal. More...
 
Castor::Coords3r & GetTangent (Castor::Coords3r &p_ptTan)
 Retrieves the vertex tangent. More...
 
Castor::Point3r & GetTangent (Castor::Point3r &p_ptTan) const
 Retrieves the vertex tangent. More...
 
Castor::Coords3r & GetBitangent (Castor::Coords3r &p_ptBitan)
 Retrieves the vertex bitangent. More...
 
Castor::Point3r & GetBitangent (Castor::Point3r &p_ptBitan) const
 Retrieves the vertex bitangent. More...
 
Castor::Coords3r & GetTexCoord (Castor::Coords3r &p_ptTex)
 Retrieves the vertex texture coordinates. More...
 
Castor::Point3r & GetTexCoord (Castor::Point3r &p_ptTex) const
 Retrieves the vertex texture coordinates. More...
 

Static Public Member Functions

static const uint32_t GetCountPos ()
 Retrieves position elements count. More...
 
static const uint32_t GetCountNml ()
 Retrieves normal elements count. More...
 
static const uint32_t GetCountTan ()
 Retrieves tangent elements count. More...
 
static const uint32_t GetCountBin ()
 Retrieves bitangent elements count. More...
 
static const uint32_t GetCountTex ()
 Retrieves texture coordinates elements count. More...
 
static const uint32_t GetOffsetPos ()
 Retrieves position's buffer offset. More...
 
static const uint32_t GetOffsetNml ()
 Retrieves normal's buffer offset. More...
 
static const uint32_t GetOffsetTan ()
 Retrieves tangent's buffer offset. More...
 
static const uint32_t GetOffsetBin ()
 Retrieves bitangent's buffer offset. More...
 
static const uint32_t GetOffsetTex ()
 Retrieves texture coordinates' buffer offset. More...
 
static const uint32_t GetSizePos ()
 Retrieves position binary size. More...
 
static const uint32_t GetSizeNml ()
 Retrieves normal binary size. More...
 
static const uint32_t GetSizeTan ()
 Retrieves tangent binary size. More...
 
static const uint32_t GetSizeBin ()
 Retrieves bitangent binary size. More...
 
static const uint32_t GetSizeTex ()
 Retrieves texture coordinates binary size. More...
 
static C3D_API Castor::Coords3r GetPosition (void *p_buffer)
 Retrieves a vertex position from a buffer. More...
 
static C3D_API Castor::Point3r GetPosition (void const *p_buffer)
 Retrieves a vertex position from a buffer. More...
 
static Castor::Coords3r & GetPosition (void *p_buffer, Castor::Coords3r &p_coord)
 Retrieves a vertex position from a buffer. More...
 
static Castor::Point3r & GetPosition (void const *p_buffer, Castor::Point3r &p_coord)
 Retrieves a vertex position from a buffer. More...
 
static C3D_API Castor::Coords3r GetNormal (void *p_buffer)
 Retrieves a vertex normal from a buffer. More...
 
static C3D_API Castor::Point3r GetNormal (void const *p_buffer)
 Retrieves a vertex normal from a buffer. More...
 
static Castor::Coords3r & GetNormal (void *p_buffer, Castor::Coords3r &p_coord)
 Retrieves a vertex normal from a buffer. More...
 
static Castor::Point3r & GetNormal (void const *p_buffer, Castor::Point3r &p_coord)
 Retrieves a vertex normal from a buffer. More...
 
static C3D_API Castor::Coords3r GetTangent (void *p_buffer)
 Retrieves a vertex tangent from a buffer. More...
 
static C3D_API Castor::Point3r GetTangent (void const *p_buffer)
 Retrieves a vertex tangent from a buffer. More...
 
static Castor::Coords3r & GetTangent (void *p_buffer, Castor::Coords3r &p_coord)
 Retrieves a vertex tangent from a buffer. More...
 
static Castor::Point3r & GetTangent (void const *p_buffer, Castor::Point3r &p_coord)
 Retrieves a vertex tangent from a buffer. More...
 
static C3D_API Castor::Coords3r GetBitangent (void *p_buffer)
 Retrieves a vertex bitangent from a buffer. More...
 
static C3D_API Castor::Point3r GetBitangent (void const *p_buffer)
 Retrieves a vertex bitangent from a buffer. More...
 
static Castor::Coords3r & GetBitangent (void *p_buffer, Castor::Coords3r &p_coord)
 Retrieves a vertex bitangent from a buffer. More...
 
static Castor::Point3r & GetBitangent (void const *p_buffer, Castor::Point3r &p_coord)
 Retrieves a vertex bitangent from a buffer. More...
 
static C3D_API Castor::Coords3r GetTexCoord (void *p_buffer)
 Retrieves a vertex texture coordinates from a buffer. More...
 
static C3D_API Castor::Point3r GetTexCoord (void const *p_buffer)
 Retrieves a vertex texture coordinates from a buffer. More...
 
static Castor::Coords3r & GetTexCoord (void *p_buffer, Castor::Coords3r &p_coord)
 Retrieves a vertex texture coordinates from a buffer. More...
 
static Castor::Point3r & GetTexCoord (void const *p_buffer, Castor::Point3r &p_coord)
 Retrieves a vertex texture coordinates from a buffer. More...
 
static void SetPosition (void *p_buffer, Castor::Coords3r const &p_coord)
 Sets the vertex position in a buffer. More...
 
static void SetPosition (void *p_buffer, Castor::Point3r const &p_coord)
 Sets the vertex position in a buffer. More...
 
static C3D_API void SetPosition (void *p_buffer, real const *p_coord)
 Sets the vertex position in a buffer. More...
 
static C3D_API void SetPosition (void *p_buffer, real x, real y, real z)
 Sets the vertex position in a buffer. More...
 
static void SetNormal (void *p_buffer, Castor::Coords3r const &p_coord)
 Sets the vertex normal in a buffer. More...
 
static void SetNormal (void *p_buffer, Castor::Point3r const &p_coord)
 Sets the vertex normal in a buffer. More...
 
static C3D_API void SetNormal (void *p_buffer, real const *p_coord)
 Sets the vertex normal in a buffer. More...
 
static C3D_API void SetNormal (void *p_buffer, real x, real y, real z)
 Sets the vertex normal in a buffer. More...
 
static void SetTangent (void *p_buffer, Castor::Coords3r const &p_coord)
 Sets the vertex tangent in a buffer. More...
 
static void SetTangent (void *p_buffer, Castor::Point3r const &p_coord)
 Sets the vertex tangent in a buffer. More...
 
static C3D_API void SetTangent (void *p_buffer, real const *p_coord)
 Sets the vertex tangent in a buffer. More...
 
static C3D_API void SetTangent (void *p_buffer, real x, real y, real z)
 Sets the vertex tangent in a buffer. More...
 
static void SetBitangent (void *p_buffer, Castor::Coords3r const &p_coord)
 Sets the vertex bitangent in a buffer. More...
 
static void SetBitangent (void *p_buffer, Castor::Point3r const &p_coord)
 Sets the vertex bitangent in a buffer. More...
 
static C3D_API void SetBitangent (void *p_buffer, real const *p_coord)
 Sets the vertex bitangent in a buffer. More...
 
static C3D_API void SetBitangent (void *p_buffer, real x, real y, real z)
 Sets the vertex bitangent in a buffer. More...
 
static void SetTexCoord (void *p_buffer, Castor::Coords3r const &p_coord)
 Sets the vertex texture coordinates in a buffer. More...
 
static void SetTexCoord (void *p_buffer, Castor::Point3r const &p_coord)
 Sets the vertex texture coordinates in a buffer. More...
 
static C3D_API void SetTexCoord (void *p_buffer, real const *p_coord)
 Sets the vertex texture coordinates in a buffer. More...
 
static C3D_API void SetTexCoord (void *p_buffer, real x, real y, real z=0)
 Sets the vertex texture coordinates in a buffer. More...
 
static Castor::Coords3r & GetPosition (BufferElementGroupSPtr p_pElement, Castor::Coords3r &p_coord)
 Retrieves the group position. More...
 
static Castor::Point3r & GetPosition (BufferElementGroupSPtr p_pElement, Castor::Point3r &p_point)
 Retrieves the group position. More...
 
static Castor::Coords3r & GetNormal (BufferElementGroupSPtr p_pElement, Castor::Coords3r &p_coord)
 Retrieves the group normal. More...
 
static Castor::Point3r & GetNormal (BufferElementGroupSPtr p_pElement, Castor::Point3r &p_point)
 Retrieves the group normal. More...
 
static Castor::Coords3r & GetTangent (BufferElementGroupSPtr p_pElement, Castor::Coords3r &p_coord)
 Retrieves the group tangent. More...
 
static Castor::Point3r & GetTangent (BufferElementGroupSPtr p_pElement, Castor::Point3r &p_point)
 Retrieves the group tangent. More...
 
static Castor::Coords3r & GetBitangent (BufferElementGroupSPtr p_pElement, Castor::Coords3r &p_coord)
 Retrieves the group bitangent. More...
 
static Castor::Point3r & GetBitangent (BufferElementGroupSPtr p_pElement, Castor::Point3r &p_point)
 Retrieves the group bitangent. More...
 
static Castor::Coords3r & GetTexCoord (BufferElementGroupSPtr p_pElement, Castor::Coords3r &p_coord)
 Retrieves the group texture coordinates. More...
 
static Castor::Point3r & GetTexCoord (BufferElementGroupSPtr p_pElement, Castor::Point3r &p_point)
 Retrieves the group texture coordinates. More...
 
static void SetPosition (BufferElementGroupSPtr p_pElement, Castor::Coords3r const &p_coord)
 Sets the group position. More...
 
static void SetPosition (BufferElementGroupSPtr p_pElement, Castor::Point3r const &p_coord)
 Sets the group position. More...
 
static void SetPosition (BufferElementGroupSPtr p_pElement, real const *p_coord)
 Sets the group position. More...
 
static void SetPosition (BufferElementGroupSPtr p_pElement, real x, real y, real z)
 Sets the group position. More...
 
static void SetNormal (BufferElementGroupSPtr p_pElement, Castor::Coords3r const &p_coord)
 Sets the group normal. More...
 
static void SetNormal (BufferElementGroupSPtr p_pElement, Castor::Point3r const &p_coord)
 Sets the group normal. More...
 
static void SetNormal (BufferElementGroupSPtr p_pElement, real const *p_coord)
 Sets the group normal. More...
 
static void SetNormal (BufferElementGroupSPtr p_pElement, real x, real y, real z)
 Sets the group normal. More...
 
static void SetTangent (BufferElementGroupSPtr p_pElement, Castor::Coords3r const &p_coord)
 Sets the group tangent. More...
 
static void SetTangent (BufferElementGroupSPtr p_pElement, Castor::Point3r const &p_coord)
 Sets the group tangent. More...
 
static void SetTangent (BufferElementGroupSPtr p_pElement, real const *p_coord)
 Sets the group tangent. More...
 
static void SetTangent (BufferElementGroupSPtr p_pElement, real x, real y, real z)
 Sets the group tangent. More...
 
static void SetBitangent (BufferElementGroupSPtr p_pElement, Castor::Coords3r const &p_coord)
 Sets the group bitangent. More...
 
static void SetBitangent (BufferElementGroupSPtr p_pElement, Castor::Point3r const &p_coord)
 Sets the group bitangent. More...
 
static void SetBitangent (BufferElementGroupSPtr p_pElement, real const *p_coord)
 Sets the group bitangent. More...
 
static void SetBitangent (BufferElementGroupSPtr p_pElement, real x, real y, real z)
 Sets the group bitangent. More...
 
static void SetTexCoord (BufferElementGroupSPtr p_pElement, Castor::Coords3r const &p_coord)
 Sets the group texture coordinates. More...
 
static void SetTexCoord (BufferElementGroupSPtr p_pElement, Castor::Point3r const &p_coord)
 Sets the group texture coordinates. More...
 
static void SetTexCoord (BufferElementGroupSPtr p_pElement, real const *p_coord)
 Sets the group texture coordinates. More...
 
static void SetTexCoord (BufferElementGroupSPtr p_pElement, real x, real y, real z=0)
 Sets the group texture coordinates. More...
 
static Castor::Coords3r & GetPosition (BufferElementGroup &p_element, Castor::Coords3r &p_coord)
 Retrieves the group position. More...
 
static Castor::Point3r & GetPosition (BufferElementGroup const &p_element, Castor::Point3r &p_point)
 Retrieves the group position. More...
 
static Castor::Coords3r & GetNormal (BufferElementGroup &p_element, Castor::Coords3r &p_coord)
 Retrieves the group normal. More...
 
static Castor::Point3r & GetNormal (BufferElementGroup const &p_element, Castor::Point3r &p_point)
 Retrieves the group normal. More...
 
static Castor::Coords3r & GetTangent (BufferElementGroup &p_element, Castor::Coords3r &p_coord)
 Retrieves the group tangent. More...
 
static Castor::Point3r & GetTangent (BufferElementGroup const &p_element, Castor::Point3r &p_point)
 Retrieves the group tangent. More...
 
static Castor::Coords3r & GetBitangent (BufferElementGroup &p_element, Castor::Coords3r &p_coord)
 Retrieves the group bitangent. More...
 
static Castor::Point3r & GetBitangent (BufferElementGroup const &p_element, Castor::Point3r &p_point)
 Retrieves the group bitangent. More...
 
static Castor::Coords3r & GetTexCoord (BufferElementGroup &p_element, Castor::Coords3r &p_coord)
 Retrieves the group texture coordinates. More...
 
static Castor::Point3r & GetTexCoord (BufferElementGroup const &p_element, Castor::Point3r &p_point)
 Retrieves the group texture coordinates. More...
 
static void SetPosition (BufferElementGroup &p_element, Castor::Coords3r const &p_coord)
 Sets the group position. More...
 
static void SetPosition (BufferElementGroup &p_element, Castor::Point3r const &p_coord)
 Sets the group position. More...
 
static void SetPosition (BufferElementGroup &p_element, real const *p_coord)
 Sets the group position. More...
 
static void SetPosition (BufferElementGroup &p_element, real x, real y, real z)
 Sets the group position. More...
 
static void SetNormal (BufferElementGroup &p_element, Castor::Coords3r const &p_coord)
 Sets the group normal. More...
 
static void SetNormal (BufferElementGroup &p_element, Castor::Point3r const &p_coord)
 Sets the group normal. More...
 
static void SetNormal (BufferElementGroup &p_element, real const *p_coord)
 Sets the group normal. More...
 
static void SetNormal (BufferElementGroup &p_element, real x, real y, real z)
 Sets the group normal. More...
 
static void SetTangent (BufferElementGroup &p_element, Castor::Coords3r const &p_coord)
 Sets the group tangent. More...
 
static void SetTangent (BufferElementGroup &p_element, Castor::Point3r const &p_coord)
 Sets the group tangent. More...
 
static void SetTangent (BufferElementGroup &p_element, real const *p_coord)
 Sets the group tangent. More...
 
static void SetTangent (BufferElementGroup &p_element, real x, real y, real z)
 Sets the group tangent. More...
 
static void SetBitangent (BufferElementGroup &p_element, Castor::Coords3r const &p_coord)
 Sets the group bitangent. More...
 
static void SetBitangent (BufferElementGroup &p_element, Castor::Point3r const &p_coord)
 Sets the group bitangent. More...
 
static void SetBitangent (BufferElementGroup &p_element, real const *p_coord)
 Sets the group bitangent. More...
 
static void SetBitangent (BufferElementGroup &p_element, real x, real y, real z)
 Sets the group bitangent. More...
 
static void SetTexCoord (BufferElementGroup &p_element, Castor::Coords3r const &p_coord)
 Sets the group texture coordinates. More...
 
static void SetTexCoord (BufferElementGroup &p_element, Castor::Point3r const &p_coord)
 Sets the group texture coordinates. More...
 
static void SetTexCoord (BufferElementGroup &p_element, real const *p_coord)
 Sets the group texture coordinates. More...
 
static void SetTexCoord (BufferElementGroup &p_element, real x, real y, real z=0)
 Sets the group texture coordinates. More...
 

Detailed Description

Representation of a vertex.

Author
Sylvain DOREMUS
Version
0.7.0
Date
27/06/2013
Remarks
Wraps BufferElementGroup to easily retrieve vertex's position, normal, tangent and texture coordinates, an index

Constructor & Destructor Documentation

◆ Vertex() [1/2]

C3D_API Castor3D::Vertex::Vertex ( BufferElementGroup p_group)

Constructor.

Parameters
[in]p_groupThe wrapped group

◆ Vertex() [2/2]

C3D_API Castor3D::Vertex::Vertex ( Vertex const &  p_source)

Copy constructor.

Parameters
[in]p_sourceThe source object

◆ ~Vertex()

virtual C3D_API Castor3D::Vertex::~Vertex ( )
virtual

Destructor.

Member Function Documentation

◆ GetBitangent() [1/10]

Castor::Coords3r& Castor3D::Vertex::GetBitangent ( Castor::Coords3r &  p_ptBitan)
inline

Retrieves the vertex bitangent.

Returns
The value

References Castor3D::BufferElementGroup::ptr().

Referenced by GetBitangent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBitangent() [2/10]

Castor::Point3r& Castor3D::Vertex::GetBitangent ( Castor::Point3r &  p_ptBitan) const
inline

Retrieves the vertex bitangent.

Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetBitangent().

+ Here is the call graph for this function:

◆ GetBitangent() [3/10]

static C3D_API Castor::Coords3r Castor3D::Vertex::GetBitangent ( void *  p_buffer)
static

Retrieves a vertex bitangent from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetBitangent() [4/10]

static C3D_API Castor::Point3r Castor3D::Vertex::GetBitangent ( void const *  p_buffer)
static

Retrieves a vertex bitangent from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetBitangent() [5/10]

static Castor::Coords3r& Castor3D::Vertex::GetBitangent ( void *  p_buffer,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves a vertex bitangent from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetBitangent().

+ Here is the call graph for this function:

◆ GetBitangent() [6/10]

static Castor::Point3r& Castor3D::Vertex::GetBitangent ( void const *  p_buffer,
Castor::Point3r &  p_coord 
)
inlinestatic

Retrieves a vertex bitangent from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetBitangent().

+ Here is the call graph for this function:

◆ GetBitangent() [7/10]

static Castor::Coords3r& Castor3D::Vertex::GetBitangent ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group bitangent.

Parameters
[in]p_pElementThe group
[out]p_coordReceives the bitangent
Returns
The value

References GetBitangent().

+ Here is the call graph for this function:

◆ GetBitangent() [8/10]

static Castor::Point3r& Castor3D::Vertex::GetBitangent ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group bitangent.

Parameters
[in]p_pElementThe group
[out]p_pointReceives the bitangent
Returns
The value

References GetBitangent().

+ Here is the call graph for this function:

◆ GetBitangent() [9/10]

static Castor::Coords3r& Castor3D::Vertex::GetBitangent ( BufferElementGroup p_element,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group bitangent.

Parameters
[in]p_elementThe group
[out]p_coordReceives the bitangent
Returns
The value

References GetBitangent(), and Castor3D::BufferElementGroup::ptr().

+ Here is the call graph for this function:

◆ GetBitangent() [10/10]

static Castor::Point3r& Castor3D::Vertex::GetBitangent ( BufferElementGroup const &  p_element,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group bitangent.

Parameters
[in]p_elementThe group
[out]p_pointReceives the bitangent
Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetBitangent().

+ Here is the call graph for this function:

◆ GetCountBin()

static const uint32_t Castor3D::Vertex::GetCountBin ( )
inlinestatic

Retrieves bitangent elements count.

Returns
The value

◆ GetCountNml()

static const uint32_t Castor3D::Vertex::GetCountNml ( )
inlinestatic

Retrieves normal elements count.

Returns
The value

◆ GetCountPos()

static const uint32_t Castor3D::Vertex::GetCountPos ( )
inlinestatic

Retrieves position elements count.

Returns
The value

◆ GetCountTan()

static const uint32_t Castor3D::Vertex::GetCountTan ( )
inlinestatic

Retrieves tangent elements count.

Returns
The value

◆ GetCountTex()

static const uint32_t Castor3D::Vertex::GetCountTex ( )
inlinestatic

Retrieves texture coordinates elements count.

Returns
The value

◆ GetNormal() [1/10]

Castor::Coords3r& Castor3D::Vertex::GetNormal ( Castor::Coords3r &  p_ptNml)
inline

Retrieves the vertex normal.

Returns
The value

References Castor3D::BufferElementGroup::ptr().

Referenced by GetNormal().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetNormal() [2/10]

Castor::Point3r& Castor3D::Vertex::GetNormal ( Castor::Point3r &  p_ptNml) const
inline

Retrieves the vertex normal.

Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetNormal().

+ Here is the call graph for this function:

◆ GetNormal() [3/10]

static C3D_API Castor::Coords3r Castor3D::Vertex::GetNormal ( void *  p_buffer)
static

Retrieves a vertex normal from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetNormal() [4/10]

static C3D_API Castor::Point3r Castor3D::Vertex::GetNormal ( void const *  p_buffer)
static

Retrieves a vertex normal from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetNormal() [5/10]

static Castor::Coords3r& Castor3D::Vertex::GetNormal ( void *  p_buffer,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves a vertex normal from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetNormal().

+ Here is the call graph for this function:

◆ GetNormal() [6/10]

static Castor::Point3r& Castor3D::Vertex::GetNormal ( void const *  p_buffer,
Castor::Point3r &  p_coord 
)
inlinestatic

Retrieves a vertex normal from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetNormal().

+ Here is the call graph for this function:

◆ GetNormal() [7/10]

static Castor::Coords3r& Castor3D::Vertex::GetNormal ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group normal.

Parameters
[in]p_pElementThe group
[out]p_coordReceives the normal
Returns
The value

References GetNormal().

+ Here is the call graph for this function:

◆ GetNormal() [8/10]

static Castor::Point3r& Castor3D::Vertex::GetNormal ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group normal.

Parameters
[in]p_pElementThe group
[out]p_pointReceives the normal
Returns
The value

References GetNormal().

+ Here is the call graph for this function:

◆ GetNormal() [9/10]

static Castor::Coords3r& Castor3D::Vertex::GetNormal ( BufferElementGroup p_element,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group normal.

Parameters
[in]p_elementThe group
[out]p_coordReceives the normal
Returns
The value

References GetNormal(), and Castor3D::BufferElementGroup::ptr().

+ Here is the call graph for this function:

◆ GetNormal() [10/10]

static Castor::Point3r& Castor3D::Vertex::GetNormal ( BufferElementGroup const &  p_element,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group normal.

Parameters
[in]p_elementThe group
[out]p_pointReceives the normal
Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetNormal().

+ Here is the call graph for this function:

◆ GetOffsetBin()

static const uint32_t Castor3D::Vertex::GetOffsetBin ( )
inlinestatic

Retrieves bitangent's buffer offset.

Returns
The value

◆ GetOffsetNml()

static const uint32_t Castor3D::Vertex::GetOffsetNml ( )
inlinestatic

Retrieves normal's buffer offset.

Returns
The value

◆ GetOffsetPos()

static const uint32_t Castor3D::Vertex::GetOffsetPos ( )
inlinestatic

Retrieves position's buffer offset.

Returns
The value

◆ GetOffsetTan()

static const uint32_t Castor3D::Vertex::GetOffsetTan ( )
inlinestatic

Retrieves tangent's buffer offset.

Returns
The value

◆ GetOffsetTex()

static const uint32_t Castor3D::Vertex::GetOffsetTex ( )
inlinestatic

Retrieves texture coordinates' buffer offset.

Returns
The value

◆ GetPosition() [1/10]

Castor::Coords3r& Castor3D::Vertex::GetPosition ( Castor::Coords3r &  p_ptPos)
inline

Retrieves the vertex position.

Returns
The value

References Castor3D::BufferElementGroup::ptr().

Referenced by GetPosition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPosition() [2/10]

Castor::Point3r& Castor3D::Vertex::GetPosition ( Castor::Point3r &  p_ptPos) const
inline

Retrieves the vertex position.

Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetPosition().

+ Here is the call graph for this function:

◆ GetPosition() [3/10]

static C3D_API Castor::Coords3r Castor3D::Vertex::GetPosition ( void *  p_buffer)
static

Retrieves a vertex position from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetPosition() [4/10]

static C3D_API Castor::Point3r Castor3D::Vertex::GetPosition ( void const *  p_buffer)
static

Retrieves a vertex position from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetPosition() [5/10]

static Castor::Coords3r& Castor3D::Vertex::GetPosition ( void *  p_buffer,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves a vertex position from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetPosition().

+ Here is the call graph for this function:

◆ GetPosition() [6/10]

static Castor::Point3r& Castor3D::Vertex::GetPosition ( void const *  p_buffer,
Castor::Point3r &  p_coord 
)
inlinestatic

Retrieves a vertex position from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetPosition().

+ Here is the call graph for this function:

◆ GetPosition() [7/10]

static Castor::Coords3r& Castor3D::Vertex::GetPosition ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group position.

Parameters
[in]p_pElementThe group
[out]p_coordReceives the coordinates
Returns
The value

References GetPosition().

+ Here is the call graph for this function:

◆ GetPosition() [8/10]

static Castor::Point3r& Castor3D::Vertex::GetPosition ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group position.

Parameters
[in]p_pElementThe group
[out]p_pointReceives the coordinates
Returns
The value

References GetPosition().

+ Here is the call graph for this function:

◆ GetPosition() [9/10]

static Castor::Coords3r& Castor3D::Vertex::GetPosition ( BufferElementGroup p_element,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group position.

Parameters
[in]p_elementThe group
[out]p_coordReceives the coordinates
Returns
The value

References GetPosition(), and Castor3D::BufferElementGroup::ptr().

+ Here is the call graph for this function:

◆ GetPosition() [10/10]

static Castor::Point3r& Castor3D::Vertex::GetPosition ( BufferElementGroup const &  p_element,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group position.

Parameters
[in]p_elementThe group
[out]p_pointReceives the coordinates
Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetPosition().

+ Here is the call graph for this function:

◆ GetSizeBin()

static const uint32_t Castor3D::Vertex::GetSizeBin ( )
inlinestatic

Retrieves bitangent binary size.

Returns
The value

◆ GetSizeNml()

static const uint32_t Castor3D::Vertex::GetSizeNml ( )
inlinestatic

Retrieves normal binary size.

Returns
The value

◆ GetSizePos()

static const uint32_t Castor3D::Vertex::GetSizePos ( )
inlinestatic

Retrieves position binary size.

Returns
The value

◆ GetSizeTan()

static const uint32_t Castor3D::Vertex::GetSizeTan ( )
inlinestatic

Retrieves tangent binary size.

Returns
The value

◆ GetSizeTex()

static const uint32_t Castor3D::Vertex::GetSizeTex ( )
inlinestatic

Retrieves texture coordinates binary size.

Returns
The value

◆ GetTangent() [1/10]

Castor::Coords3r& Castor3D::Vertex::GetTangent ( Castor::Coords3r &  p_ptTan)
inline

Retrieves the vertex tangent.

Returns
The value

References Castor3D::BufferElementGroup::ptr().

Referenced by GetTangent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTangent() [2/10]

Castor::Point3r& Castor3D::Vertex::GetTangent ( Castor::Point3r &  p_ptTan) const
inline

Retrieves the vertex tangent.

Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetTangent().

+ Here is the call graph for this function:

◆ GetTangent() [3/10]

static C3D_API Castor::Coords3r Castor3D::Vertex::GetTangent ( void *  p_buffer)
static

Retrieves a vertex tangent from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetTangent() [4/10]

static C3D_API Castor::Point3r Castor3D::Vertex::GetTangent ( void const *  p_buffer)
static

Retrieves a vertex tangent from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetTangent() [5/10]

static Castor::Coords3r& Castor3D::Vertex::GetTangent ( void *  p_buffer,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves a vertex tangent from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetTangent().

+ Here is the call graph for this function:

◆ GetTangent() [6/10]

static Castor::Point3r& Castor3D::Vertex::GetTangent ( void const *  p_buffer,
Castor::Point3r &  p_coord 
)
inlinestatic

Retrieves a vertex tangent from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetTangent().

+ Here is the call graph for this function:

◆ GetTangent() [7/10]

static Castor::Coords3r& Castor3D::Vertex::GetTangent ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group tangent.

Parameters
[in]p_pElementThe group
[out]p_coordReceives the tangent
Returns
The value

References GetTangent().

+ Here is the call graph for this function:

◆ GetTangent() [8/10]

static Castor::Point3r& Castor3D::Vertex::GetTangent ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group tangent.

Parameters
[in]p_pElementThe group
[out]p_pointReceives the tangent
Returns
The value

References GetTangent().

+ Here is the call graph for this function:

◆ GetTangent() [9/10]

static Castor::Coords3r& Castor3D::Vertex::GetTangent ( BufferElementGroup p_element,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group tangent.

Parameters
[in]p_elementThe group
[out]p_coordReceives the tangent
Returns
The value

References GetTangent(), and Castor3D::BufferElementGroup::ptr().

+ Here is the call graph for this function:

◆ GetTangent() [10/10]

static Castor::Point3r& Castor3D::Vertex::GetTangent ( BufferElementGroup const &  p_element,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group tangent.

Parameters
[in]p_elementThe group
[out]p_pointReceives the tangent
Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetTangent().

+ Here is the call graph for this function:

◆ GetTexCoord() [1/10]

Castor::Coords3r& Castor3D::Vertex::GetTexCoord ( Castor::Coords3r &  p_ptTex)
inline

Retrieves the vertex texture coordinates.

Returns
The value

References Castor3D::BufferElementGroup::ptr().

Referenced by GetTexCoord().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTexCoord() [2/10]

Castor::Point3r& Castor3D::Vertex::GetTexCoord ( Castor::Point3r &  p_ptTex) const
inline

Retrieves the vertex texture coordinates.

Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetTexCoord().

+ Here is the call graph for this function:

◆ GetTexCoord() [3/10]

static C3D_API Castor::Coords3r Castor3D::Vertex::GetTexCoord ( void *  p_buffer)
static

Retrieves a vertex texture coordinates from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetTexCoord() [4/10]

static C3D_API Castor::Point3r Castor3D::Vertex::GetTexCoord ( void const *  p_buffer)
static

Retrieves a vertex texture coordinates from a buffer.

Parameters
[in]p_bufferThe buffer
Returns
The value

◆ GetTexCoord() [5/10]

static Castor::Coords3r& Castor3D::Vertex::GetTexCoord ( void *  p_buffer,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves a vertex texture coordinates from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetTexCoord().

+ Here is the call graph for this function:

◆ GetTexCoord() [6/10]

static Castor::Point3r& Castor3D::Vertex::GetTexCoord ( void const *  p_buffer,
Castor::Point3r &  p_coord 
)
inlinestatic

Retrieves a vertex texture coordinates from a buffer.

Parameters
[in]p_bufferThe buffer
[out]p_coordReceives the value
Returns
The value

References GetTexCoord().

+ Here is the call graph for this function:

◆ GetTexCoord() [7/10]

static Castor::Coords3r& Castor3D::Vertex::GetTexCoord ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group texture coordinates.

Parameters
[in]p_pElementThe group
[out]p_coordReceives the texture coordinates
Returns
The value

References GetTexCoord().

+ Here is the call graph for this function:

◆ GetTexCoord() [8/10]

static Castor::Point3r& Castor3D::Vertex::GetTexCoord ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group texture coordinates.

Parameters
[in]p_pElementThe group
[out]p_pointReceives the texture coordinates
Returns
The value

References GetTexCoord().

+ Here is the call graph for this function:

◆ GetTexCoord() [9/10]

static Castor::Coords3r& Castor3D::Vertex::GetTexCoord ( BufferElementGroup p_element,
Castor::Coords3r &  p_coord 
)
inlinestatic

Retrieves the group texture coordinates.

Parameters
[in]p_elementThe group
[out]p_coordReceives the texture coordinates
Returns
The value

References GetTexCoord(), and Castor3D::BufferElementGroup::ptr().

+ Here is the call graph for this function:

◆ GetTexCoord() [10/10]

static Castor::Point3r& Castor3D::Vertex::GetTexCoord ( BufferElementGroup const &  p_element,
Castor::Point3r &  p_point 
)
inlinestatic

Retrieves the group texture coordinates.

Parameters
[in]p_elementThe group
[out]p_pointReceives the texture coordinates
Returns
The value

References Castor3D::BufferElementGroup::const_ptr(), and GetTexCoord().

+ Here is the call graph for this function:

◆ operator=()

C3D_API Vertex& Castor3D::Vertex::operator= ( Vertex const &  p_source)

Copy assignment operator.

Parameters
[in]p_sourceThe source object
Returns
A reference to this object

◆ SetBitangent() [1/16]

void Castor3D::Vertex::SetBitangent ( Castor::Coords3r const &  val)
inline

Sets the vertex bitangent.

Parameters
[in]valThe value

References Castor3D::BufferElementGroup::ptr().

Referenced by SetBitangent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBitangent() [2/16]

void Castor3D::Vertex::SetBitangent ( Castor::Point3r const &  val)
inline

Sets the vertex bitangent.

Parameters
[in]valThe value

References Castor3D::BufferElementGroup::ptr(), and SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [3/16]

void Castor3D::Vertex::SetBitangent ( real  x,
real  y,
real  z 
)
inline

Sets the vertex bitangent.

Parameters
[in]x,y,zThe values

References Castor3D::BufferElementGroup::ptr(), and SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [4/16]

void Castor3D::Vertex::SetBitangent ( real const *  p_coords)
inline

Sets the vertex bitangent.

Parameters
[in]p_coordsThe data buffer

References Castor3D::BufferElementGroup::ptr(), and SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [5/16]

static void Castor3D::Vertex::SetBitangent ( void *  p_buffer,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the vertex bitangent in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [6/16]

static void Castor3D::Vertex::SetBitangent ( void *  p_buffer,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the vertex bitangent in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [7/16]

static C3D_API void Castor3D::Vertex::SetBitangent ( void *  p_buffer,
real const *  p_coord 
)
static

Sets the vertex bitangent in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

◆ SetBitangent() [8/16]

static C3D_API void Castor3D::Vertex::SetBitangent ( void *  p_buffer,
real  x,
real  y,
real  z 
)
static

Sets the vertex bitangent in a buffer.

Parameters
[in]p_bufferThe buffer
[in]x,y,zThe new value

◆ SetBitangent() [9/16]

static void Castor3D::Vertex::SetBitangent ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group bitangent.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [10/16]

static void Castor3D::Vertex::SetBitangent ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group bitangent.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [11/16]

static void Castor3D::Vertex::SetBitangent ( BufferElementGroupSPtr  p_pElement,
real const *  p_coord 
)
inlinestatic

Sets the group bitangent.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [12/16]

static void Castor3D::Vertex::SetBitangent ( BufferElementGroupSPtr  p_pElement,
real  x,
real  y,
real  z 
)
inlinestatic

Sets the group bitangent.

Parameters
[in]p_pElementThe group
[in]x,y,zThe new value

References SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [13/16]

static void Castor3D::Vertex::SetBitangent ( BufferElementGroup p_element,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group bitangent.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [14/16]

static void Castor3D::Vertex::SetBitangent ( BufferElementGroup p_element,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group bitangent.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [15/16]

static void Castor3D::Vertex::SetBitangent ( BufferElementGroup p_element,
real const *  p_coord 
)
inlinestatic

Sets the group bitangent.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetBitangent().

+ Here is the call graph for this function:

◆ SetBitangent() [16/16]

static void Castor3D::Vertex::SetBitangent ( BufferElementGroup p_element,
real  x,
real  y,
real  z 
)
inlinestatic

Sets the group bitangent.

Parameters
[out]p_elementThe group
[in]x,y,zThe new value

References Castor3D::BufferElementGroup::ptr(), and SetBitangent().

+ Here is the call graph for this function:

◆ SetNormal() [1/16]

void Castor3D::Vertex::SetNormal ( Castor::Coords3r const &  val)
inline

Sets the vertex normal.

Parameters
[in]valThe value

References Castor3D::BufferElementGroup::ptr().

Referenced by SetNormal().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetNormal() [2/16]

void Castor3D::Vertex::SetNormal ( Castor::Point3r const &  val)
inline

Sets the vertex normal.

Parameters
[in]valThe value

References Castor3D::BufferElementGroup::ptr(), and SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [3/16]

void Castor3D::Vertex::SetNormal ( real  x,
real  y,
real  z 
)
inline

Sets the vertex normal.

Parameters
[in]x,y,zThe values

References Castor3D::BufferElementGroup::ptr(), and SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [4/16]

void Castor3D::Vertex::SetNormal ( real const *  p_coords)
inline

Sets the vertex normal.

Parameters
[in]p_coordsThe data buffer

References Castor3D::BufferElementGroup::ptr(), and SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [5/16]

static void Castor3D::Vertex::SetNormal ( void *  p_buffer,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the vertex normal in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [6/16]

static void Castor3D::Vertex::SetNormal ( void *  p_buffer,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the vertex normal in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [7/16]

static C3D_API void Castor3D::Vertex::SetNormal ( void *  p_buffer,
real const *  p_coord 
)
static

Sets the vertex normal in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

◆ SetNormal() [8/16]

static C3D_API void Castor3D::Vertex::SetNormal ( void *  p_buffer,
real  x,
real  y,
real  z 
)
static

Sets the vertex normal in a buffer.

Parameters
[in]p_bufferThe buffer
[in]x,y,zThe new value

◆ SetNormal() [9/16]

static void Castor3D::Vertex::SetNormal ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group normal.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [10/16]

static void Castor3D::Vertex::SetNormal ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group normal.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [11/16]

static void Castor3D::Vertex::SetNormal ( BufferElementGroupSPtr  p_pElement,
real const *  p_coord 
)
inlinestatic

Sets the group normal.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [12/16]

static void Castor3D::Vertex::SetNormal ( BufferElementGroupSPtr  p_pElement,
real  x,
real  y,
real  z 
)
inlinestatic

Sets the group normal.

Parameters
[in]p_pElementThe group
[in]x,y,zThe new value

References SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [13/16]

static void Castor3D::Vertex::SetNormal ( BufferElementGroup p_element,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group normal.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [14/16]

static void Castor3D::Vertex::SetNormal ( BufferElementGroup p_element,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group normal.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [15/16]

static void Castor3D::Vertex::SetNormal ( BufferElementGroup p_element,
real const *  p_coord 
)
inlinestatic

Sets the group normal.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetNormal().

+ Here is the call graph for this function:

◆ SetNormal() [16/16]

static void Castor3D::Vertex::SetNormal ( BufferElementGroup p_element,
real  x,
real  y,
real  z 
)
inlinestatic

Sets the group normal.

Parameters
[out]p_elementThe group
[in]x,y,zThe new value

References Castor3D::BufferElementGroup::ptr(), and SetNormal().

+ Here is the call graph for this function:

◆ SetPosition() [1/16]

void Castor3D::Vertex::SetPosition ( Castor::Coords3r const &  val)
inline

Sets the vertex position.

Parameters
[in]valThe new value

References Castor3D::BufferElementGroup::ptr().

Referenced by SetPosition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPosition() [2/16]

void Castor3D::Vertex::SetPosition ( Castor::Point3r const &  val)
inline

Sets the vertex position.

Parameters
[in]valThe new value

References Castor3D::BufferElementGroup::ptr(), and SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [3/16]

void Castor3D::Vertex::SetPosition ( real  x,
real  y,
real  z 
)
inline

Sets the vertex position.

Parameters
[in]x,y,zThe new value

References Castor3D::BufferElementGroup::ptr(), and SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [4/16]

void Castor3D::Vertex::SetPosition ( real const *  p_coords)
inline

Sets the vertex position.

Parameters
[in]p_coordsThe new value

References Castor3D::BufferElementGroup::ptr(), and SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [5/16]

static void Castor3D::Vertex::SetPosition ( void *  p_buffer,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the vertex position in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [6/16]

static void Castor3D::Vertex::SetPosition ( void *  p_buffer,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the vertex position in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [7/16]

static C3D_API void Castor3D::Vertex::SetPosition ( void *  p_buffer,
real const *  p_coord 
)
static

Sets the vertex position in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

◆ SetPosition() [8/16]

static C3D_API void Castor3D::Vertex::SetPosition ( void *  p_buffer,
real  x,
real  y,
real  z 
)
static

Sets the vertex position in a buffer.

Parameters
[in]p_bufferThe buffer
[in]x,y,zThe new value

◆ SetPosition() [9/16]

static void Castor3D::Vertex::SetPosition ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group position.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [10/16]

static void Castor3D::Vertex::SetPosition ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group position.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [11/16]

static void Castor3D::Vertex::SetPosition ( BufferElementGroupSPtr  p_pElement,
real const *  p_coord 
)
inlinestatic

Sets the group position.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [12/16]

static void Castor3D::Vertex::SetPosition ( BufferElementGroupSPtr  p_pElement,
real  x,
real  y,
real  z 
)
inlinestatic

Sets the group position.

Parameters
[in]p_pElementThe group
[in]x,y,zThe new value

References SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [13/16]

static void Castor3D::Vertex::SetPosition ( BufferElementGroup p_element,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group position.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [14/16]

static void Castor3D::Vertex::SetPosition ( BufferElementGroup p_element,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group position.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [15/16]

static void Castor3D::Vertex::SetPosition ( BufferElementGroup p_element,
real const *  p_coord 
)
inlinestatic

Sets the group position.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetPosition().

+ Here is the call graph for this function:

◆ SetPosition() [16/16]

static void Castor3D::Vertex::SetPosition ( BufferElementGroup p_element,
real  x,
real  y,
real  z 
)
inlinestatic

Sets the group position.

Parameters
[out]p_elementThe group
[in]x,y,zThe new value

References Castor3D::BufferElementGroup::ptr(), and SetPosition().

+ Here is the call graph for this function:

◆ SetTangent() [1/16]

void Castor3D::Vertex::SetTangent ( Castor::Coords3r const &  val)
inline

Sets the vertex tangent.

Parameters
[in]valThe value

References Castor3D::BufferElementGroup::ptr().

Referenced by SetTangent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTangent() [2/16]

void Castor3D::Vertex::SetTangent ( Castor::Point3r const &  val)
inline

Sets the vertex tangent.

Parameters
[in]valThe value

References Castor3D::BufferElementGroup::ptr(), and SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [3/16]

void Castor3D::Vertex::SetTangent ( real  x,
real  y,
real  z 
)
inline

Sets the vertex tangent.

Parameters
[in]x,y,zThe values

References Castor3D::BufferElementGroup::ptr(), and SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [4/16]

void Castor3D::Vertex::SetTangent ( real const *  p_coords)
inline

Sets the vertex tangent.

Parameters
[in]p_coordsThe data buffer

References Castor3D::BufferElementGroup::ptr(), and SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [5/16]

static void Castor3D::Vertex::SetTangent ( void *  p_buffer,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the vertex tangent in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [6/16]

static void Castor3D::Vertex::SetTangent ( void *  p_buffer,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the vertex tangent in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [7/16]

static C3D_API void Castor3D::Vertex::SetTangent ( void *  p_buffer,
real const *  p_coord 
)
static

Sets the vertex tangent in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

◆ SetTangent() [8/16]

static C3D_API void Castor3D::Vertex::SetTangent ( void *  p_buffer,
real  x,
real  y,
real  z 
)
static

Sets the vertex tangent in a buffer.

Parameters
[in]p_bufferThe buffer
[in]x,y,zThe new value

◆ SetTangent() [9/16]

static void Castor3D::Vertex::SetTangent ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group tangent.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [10/16]

static void Castor3D::Vertex::SetTangent ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group tangent.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [11/16]

static void Castor3D::Vertex::SetTangent ( BufferElementGroupSPtr  p_pElement,
real const *  p_coord 
)
inlinestatic

Sets the group tangent.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [12/16]

static void Castor3D::Vertex::SetTangent ( BufferElementGroupSPtr  p_pElement,
real  x,
real  y,
real  z 
)
inlinestatic

Sets the group tangent.

Parameters
[in]p_pElementThe group
[in]x,y,zThe new value

References SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [13/16]

static void Castor3D::Vertex::SetTangent ( BufferElementGroup p_element,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group tangent.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [14/16]

static void Castor3D::Vertex::SetTangent ( BufferElementGroup p_element,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group tangent.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [15/16]

static void Castor3D::Vertex::SetTangent ( BufferElementGroup p_element,
real const *  p_coord 
)
inlinestatic

Sets the group tangent.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetTangent().

+ Here is the call graph for this function:

◆ SetTangent() [16/16]

static void Castor3D::Vertex::SetTangent ( BufferElementGroup p_element,
real  x,
real  y,
real  z 
)
inlinestatic

Sets the group tangent.

Parameters
[out]p_elementThe group
[in]x,y,zThe new value

References Castor3D::BufferElementGroup::ptr(), and SetTangent().

+ Here is the call graph for this function:

◆ SetTexCoord() [1/16]

void Castor3D::Vertex::SetTexCoord ( Castor::Coords3r const &  val)
inline

Sets the vertex texture coordinates.

Parameters
[in]valThe value

References Castor3D::BufferElementGroup::ptr().

Referenced by SetTexCoord().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTexCoord() [2/16]

void Castor3D::Vertex::SetTexCoord ( Castor::Point3r const &  val)
inline

Sets the vertex texture coordinates.

Parameters
[in]valThe value

References Castor3D::BufferElementGroup::ptr(), and SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [3/16]

void Castor3D::Vertex::SetTexCoord ( real  x,
real  y,
real  z = 0 
)
inline

Sets the vertex texture coordinates.

Parameters
[in]x,y,zThe values

References Castor3D::BufferElementGroup::ptr(), and SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [4/16]

void Castor3D::Vertex::SetTexCoord ( real const *  p_coords)
inline

Sets the vertex texture coordinates.

Parameters
[in]p_coordsThe data buffer

References Castor3D::BufferElementGroup::ptr(), and SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [5/16]

static void Castor3D::Vertex::SetTexCoord ( void *  p_buffer,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the vertex texture coordinates in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [6/16]

static void Castor3D::Vertex::SetTexCoord ( void *  p_buffer,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the vertex texture coordinates in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

References SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [7/16]

static C3D_API void Castor3D::Vertex::SetTexCoord ( void *  p_buffer,
real const *  p_coord 
)
static

Sets the vertex texture coordinates in a buffer.

Parameters
[in]p_bufferThe buffer
[in]p_coordThe new value

◆ SetTexCoord() [8/16]

static C3D_API void Castor3D::Vertex::SetTexCoord ( void *  p_buffer,
real  x,
real  y,
real  z = 0 
)
static

Sets the vertex texture coordinates in a buffer.

Parameters
[in]p_bufferThe buffer
[in]x,y,zThe new value

◆ SetTexCoord() [9/16]

static void Castor3D::Vertex::SetTexCoord ( BufferElementGroupSPtr  p_pElement,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group texture coordinates.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [10/16]

static void Castor3D::Vertex::SetTexCoord ( BufferElementGroupSPtr  p_pElement,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group texture coordinates.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [11/16]

static void Castor3D::Vertex::SetTexCoord ( BufferElementGroupSPtr  p_pElement,
real const *  p_coord 
)
inlinestatic

Sets the group texture coordinates.

Parameters
[in]p_pElementThe group
[in]p_coordThe new value

References SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [12/16]

static void Castor3D::Vertex::SetTexCoord ( BufferElementGroupSPtr  p_pElement,
real  x,
real  y,
real  z = 0 
)
inlinestatic

Sets the group texture coordinates.

Parameters
[in]p_pElementThe group
[in]x,y,zThe new value

References SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [13/16]

static void Castor3D::Vertex::SetTexCoord ( BufferElementGroup p_element,
Castor::Coords3r const &  p_coord 
)
inlinestatic

Sets the group texture coordinates.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [14/16]

static void Castor3D::Vertex::SetTexCoord ( BufferElementGroup p_element,
Castor::Point3r const &  p_coord 
)
inlinestatic

Sets the group texture coordinates.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [15/16]

static void Castor3D::Vertex::SetTexCoord ( BufferElementGroup p_element,
real const *  p_coord 
)
inlinestatic

Sets the group texture coordinates.

Parameters
[out]p_elementThe group
[in]p_coordThe new value

References Castor3D::BufferElementGroup::ptr(), and SetTexCoord().

+ Here is the call graph for this function:

◆ SetTexCoord() [16/16]

static void Castor3D::Vertex::SetTexCoord ( BufferElementGroup p_element,
real  x,
real  y,
real  z = 0 
)
inlinestatic

Sets the group texture coordinates.

Parameters
[out]p_elementThe group
[in]x,y,zThe new value

References Castor3D::BufferElementGroup::ptr(), and SetTexCoord().

+ Here is the call graph for this function:

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