1#ifndef COIN_SOPRIMITIVEVERTEX_H
2#define COIN_SOPRIMITIVEVERTEX_H
36#include <Inventor/SbVec2f.h>
37#include <Inventor/SbVec3f.h>
38#include <Inventor/SbVec4f.h>
39#include <Inventor/system/inttypes.h>
59 void setPoint(
float x,
float y,
float z) { point.setValue(x, y, z); }
The SbList class is a template container class for lists.
Definition SbList.h:70
SbList< Type > & operator=(const SbList< Type > &l)
Definition SbList.h:99
SbList(const int sizehint=DEFAULTSIZE)
Definition SbList.h:78
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition SbVec2f.h:49
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition SbVec4f.h:49
The SoDetail class is the superclass for all classes storing detailed information about particular sh...
Definition SoDetail.h:39
The SoPrimitiveVertex class represents a single vertex of a generated primitive.
Definition SoPrimitiveVertex.h:43
const SoDetail * getDetail(void) const
Definition SoPrimitiveVertex.h:56
int getMaterialIndex(void) const
Definition SoPrimitiveVertex.h:54
const SbVec3f & getNormal(void) const
Definition SoPrimitiveVertex.h:52
void setNormal(float nx, float ny, float nz)
Definition SoPrimitiveVertex.h:61
void setTextureCoords(float tx, float ty, float tz, float tw)
Definition SoPrimitiveVertex.h:67
void setPoint(const SbVec3f &pt)
Definition SoPrimitiveVertex.h:58
const SbVec3f & getPoint(void) const
Definition SoPrimitiveVertex.h:51
void setTextureCoords(const SbVec3f &tex)
Definition SoPrimitiveVertex.h:64
void setTextureCoords(float tx, float ty, float tz)
Definition SoPrimitiveVertex.h:65
void setPackedColor(uint32_t rgba)
Definition SoPrimitiveVertex.h:70
void setTextureCoords(const SbVec4f &tex)
Definition SoPrimitiveVertex.h:66
void setDetail(SoDetail *d)
Definition SoPrimitiveVertex.h:71
void setMaterialIndex(int index)
Definition SoPrimitiveVertex.h:69
void setNormal(const SbVec3f &n)
Definition SoPrimitiveVertex.h:60
void setTextureCoords(float tx, float ty)
Definition SoPrimitiveVertex.h:63
void setTextureCoords(const SbVec2f &tex)
Definition SoPrimitiveVertex.h:62
void setPoint(float x, float y, float z)
Definition SoPrimitiveVertex.h:59
const SbVec4f & getTextureCoords(void) const
Definition SoPrimitiveVertex.h:53
uint32_t getPackedColor(void) const
Definition SoPrimitiveVertex.h:55