#include <Inventor/nodes/SoVertexProperty.h>
|
enum | {
COLOR_BITS = 0x18
, PART_COLOR = 0x8
, FACE_COLOR = 0x10
, VERTEX_COLOR = 0x18
,
NORMAL_BITS = 0x6
, PART_NORMAL = 0x2
, FACE_NORMAL = 0x4
, VERTEX_NORMAL = 0x6
,
TEXCOORD_BIT = 0x1
} |
| 32 rendering cases. More...
|
|
enum | {
TEXTURE_FUNCTION_BIT = 0x80
, OVERRIDE_FROM_STATE_BIT = 0x40
, COORD_FROM_STATE_BIT = 0x20
, COLOR_FROM_STATE_BITS = COLOR_BITS
,
NORMAL_FROM_STATE_BITS = NORMAL_BITS
, TEXCOORD_FROM_STATE_BIT = TEXCOORD_BIT
, ALL_FROM_STATE_BITS = 0xFF
} |
| Bit-mask, set by fillInCache method Bits use same as above, plus one for coords and one for overrides (diffuse color, material binding, transparency) plus one for texture function (if tcoords in VP) More...
|
|
Definition at line 264 of file SoVertexProperty.h.
◆ anonymous enum
Non-indexed shapes can get away with just looking at the low 5 bits. The bits are arranged like this: 43210 BITS
00... Overall color 01... Part color 10... Face color 11... Vtx color ..00. Overall/No norm ..01. Part norm ..10. Face norm ..11. Vtx norm ....? Explicit exture coordinates needed
Enumerator |
---|
COLOR_BITS | |
PART_COLOR | |
FACE_COLOR | |
VERTEX_COLOR | |
NORMAL_BITS | |
PART_NORMAL | |
FACE_NORMAL | |
VERTEX_NORMAL | |
TEXCOORD_BIT | |
Definition at line 374 of file SoVertexProperty.h.
◆ anonymous enum
Enumerator |
---|
TEXTURE_FUNCTION_BIT | |
OVERRIDE_FROM_STATE_BIT | |
COORD_FROM_STATE_BIT | |
COLOR_FROM_STATE_BITS | |
NORMAL_FROM_STATE_BITS | |
TEXCOORD_FROM_STATE_BIT | |
ALL_FROM_STATE_BITS | |
Definition at line 392 of file SoVertexProperty.h.
◆ SoVertexPropertyCache()
SoVertexPropertyCache::SoVertexPropertyCache |
( |
| ) |
|
◆ colorIsInVtxProp()
bool SoVertexPropertyCache::colorIsInVtxProp |
( |
| ) |
const |
|
inline |
◆ fillInCache()
◆ fillInColorAndTranspAvail()
◆ getColors()
const char * SoVertexPropertyCache::getColors |
( |
int |
i | ) |
const |
|
inline |
◆ getColorStride()
int SoVertexPropertyCache::getColorStride |
( |
| ) |
const |
|
inline |
◆ getMaterialBinding()
◆ getNormalBinding()
◆ getNormals()
const char * SoVertexPropertyCache::getNormals |
( |
int |
i | ) |
const |
|
inline |
◆ getNormalStride()
int SoVertexPropertyCache::getNormalStride |
( |
| ) |
const |
|
inline |
◆ getNumColors()
int SoVertexPropertyCache::getNumColors |
( |
| ) |
const |
|
inline |
◆ getNumNormals()
int SoVertexPropertyCache::getNumNormals |
( |
| ) |
const |
|
inline |
◆ getNumTexCoords()
int SoVertexPropertyCache::getNumTexCoords |
( |
| ) |
const |
|
inline |
◆ getNumVertices()
int SoVertexPropertyCache::getNumVertices |
( |
| ) |
const |
|
inline |
◆ getRenderCase()
◆ getTexCoordBinding()
◆ getTexCoords()
const char * SoVertexPropertyCache::getTexCoords |
( |
int |
i | ) |
const |
|
inline |
◆ getTexCoordStride()
int SoVertexPropertyCache::getTexCoordStride |
( |
| ) |
const |
|
inline |
◆ getVertexStride()
int SoVertexPropertyCache::getVertexStride |
( |
| ) |
const |
|
inline |
◆ getVertices()
const char * SoVertexPropertyCache::getVertices |
( |
int |
i | ) |
const |
|
inline |
◆ haveTexCoordsInVP()
bool SoVertexPropertyCache::haveTexCoordsInVP |
( |
| ) |
|
|
inline |
◆ invalidate()
void SoVertexPropertyCache::invalidate |
( |
| ) |
|
|
inline |
◆ mightNeedSomethingFromState()
bool SoVertexPropertyCache::mightNeedSomethingFromState |
( |
const SoShapeStyleElement * |
sse | ) |
const |
|
inline |
◆ sendColor()
void SoVertexPropertyCache::sendColor |
( |
const char * |
cp | ) |
const |
|
inline |
◆ sendColorAtIndex()
void SoVertexPropertyCache::sendColorAtIndex |
( |
const int32_t |
index | ) |
|
◆ sendNormal()
void SoVertexPropertyCache::sendNormal |
( |
const char * |
np | ) |
const |
|
inline |
◆ sendNormalAtIndex()
void SoVertexPropertyCache::sendNormalAtIndex |
( |
const int32_t |
index | ) |
|
◆ sendTexCoord()
void SoVertexPropertyCache::sendTexCoord |
( |
const char * |
tcp | ) |
const |
|
inline |
◆ sendTexCoordAtIndex()
void SoVertexPropertyCache::sendTexCoordAtIndex |
( |
const int32_t |
index | ) |
|
◆ sendVertex()
void SoVertexPropertyCache::sendVertex |
( |
const char * |
vp | ) |
const |
|
inline |
◆ sendVertexAtIndex()
void SoVertexPropertyCache::sendVertexAtIndex |
( |
const int32_t |
index | ) |
|
◆ shouldGenerateNormals()
◆ shouldGenerateTexCoords()
◆ transpIsInVtxProp()
bool SoVertexPropertyCache::transpIsInVtxProp |
( |
| ) |
const |
|
inline |
◆ colorFunc
◆ colorPtr
const char* SoVertexPropertyCache::colorPtr |
◆ colorStride
int SoVertexPropertyCache::colorStride |
◆ generateNormals
bool SoVertexPropertyCache::generateNormals |
◆ generateTexCoords
bool SoVertexPropertyCache::generateTexCoords |
◆ needFromState
unsigned char SoVertexPropertyCache::needFromState |
◆ normalFunc
◆ normalPtr
const char* SoVertexPropertyCache::normalPtr |
◆ normalStride
int SoVertexPropertyCache::normalStride |
◆ numColors
int SoVertexPropertyCache::numColors |
◆ numNorms
int SoVertexPropertyCache::numNorms |
◆ numTexCoords
int SoVertexPropertyCache::numTexCoords |
◆ numVerts
int SoVertexPropertyCache::numVerts |
◆ texCoordFunc
◆ texCoordPtr
const char* SoVertexPropertyCache::texCoordPtr |
◆ texCoordStride
int SoVertexPropertyCache::texCoordStride |
◆ vertexFunc
◆ vertexPtr
const char* SoVertexPropertyCache::vertexPtr |
◆ vertexStride
int SoVertexPropertyCache::vertexStride |
The documentation for this class was generated from the following file:
- C:/jh/mevislab/4.0.2_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/nodes/SoVertexProperty.h