Houdini Engine 7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
HAPI_VolumeInfo Struct Reference

#include <HAPI_Common.h>

Public Attributes

HAPI_StringHandle nameSH
 
HAPI_VolumeType type
 
int tupleSize
 
HAPI_StorageType storage
 Can be either HAPI_STORAGETYPE_INT or HAPI_STORAGETYPE_FLOAT. More...
 
int tileSize
 
HAPI_Transform transform
 
HAPI_Bool hasTaper
 
int xLength
 
int yLength
 
int zLength
 
int minX
 
int minY
 
int minZ
 
float xTaper
 
float yTaper
 

Detailed Description

This represents a volume primitive but does not contain the actual voxel values, which can be retrieved on a per-tile basis.

See Volumes.

Definition at line 1886 of file HAPI_Common.h.

Member Data Documentation

HAPI_Bool HAPI_VolumeInfo::hasTaper

Denotes special situations where the volume tiles are not perfect cubes, but are tapered instead.

Definition at line 1921 of file HAPI_Common.h.

int HAPI_VolumeInfo::minX

Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )

Definition at line 1899 of file HAPI_Common.h.

int HAPI_VolumeInfo::minY

Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )

Definition at line 1900 of file HAPI_Common.h.

int HAPI_VolumeInfo::minZ

Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )

Definition at line 1901 of file HAPI_Common.h.

HAPI_StringHandle HAPI_VolumeInfo::nameSH

Definition at line 1888 of file HAPI_Common.h.

HAPI_StorageType HAPI_VolumeInfo::storage

Can be either HAPI_STORAGETYPE_INT or HAPI_STORAGETYPE_FLOAT.

Definition at line 1909 of file HAPI_Common.h.

int HAPI_VolumeInfo::tileSize

The dimensions of each tile. This can be 8 or 16, denoting an 8x8x8 or 16x16x16 tiles.

Definition at line 1913 of file HAPI_Common.h.

HAPI_Transform HAPI_VolumeInfo::transform

The transform of the volume with respect to the lengths. The volume may be positioned anywhere in space.

Definition at line 1917 of file HAPI_Common.h.

int HAPI_VolumeInfo::tupleSize

Number of values per voxel. The tuple size field is 1 for scalars and 3 for vector data.

Definition at line 1906 of file HAPI_Common.h.

HAPI_VolumeType HAPI_VolumeInfo::type

Definition at line 1890 of file HAPI_Common.h.

int HAPI_VolumeInfo::xLength

Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )

Definition at line 1896 of file HAPI_Common.h.

float HAPI_VolumeInfo::xTaper

If there is taper involved, denotes the amount of taper involved.

Definition at line 1925 of file HAPI_Common.h.

int HAPI_VolumeInfo::yLength

Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )

Definition at line 1897 of file HAPI_Common.h.

float HAPI_VolumeInfo::yTaper

If there is taper involved, denotes the amount of taper involved.

Definition at line 1926 of file HAPI_Common.h.

int HAPI_VolumeInfo::zLength

Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )

Definition at line 1898 of file HAPI_Common.h.


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