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