OpenGL Volumizer 2.7 Reference Pages
| vzBlock ( | ); |
| void setOffsets ( | const float offsets[3]); |
| void setDimensions ( | const float dims[3]); |
| void getOffsets ( | float offsets[3]) const; |
| void getDimensions ( | float dims[3]) const; |
| vzUnstructuredTetraMesh* tessellate ( | ) const; |
| virtual ~vzBlock ( | ); |
| vzBlock ( | ); |
| virtual ~vzBlock ( | ); |
| void getDimensions ( | float dims[3]) const; |
| void getOffsets ( | float offsets[3]) const; |
| void setDimensions ( | const float dims[3]); |
// Function to change the dimensions of the given vzBlock
void shrinkBlock(vzBlock *block) {
// Dimensions
float dimensions[3];
// Get the current dimensions
block->getDimensions(dimensions);
// Divide the dimensions by half
for(int i = 0; i < 3; i++)
dimensions[i] /= 2;
// Set the new dimensions
block->setDimensions(dimensions);
}
| void setOffsets ( | const float offsets[3]); |
| vzUnstructuredTetraMesh* tessellate ( | ) const; |