|
enum | CombineMode {
COMBINE_MODE_INVALID = CMZN_FIELD_IMAGE_COMBINE_MODE_INVALID,
COMBINE_MODE_BLEND = CMZN_FIELD_IMAGE_COMBINE_MODE_BLEND,
COMBINE_MODE_DECAL = CMZN_FIELD_IMAGE_COMBINE_MODE_DECAL,
COMBINE_MODE_MODULATE = CMZN_FIELD_IMAGE_COMBINE_MODE_MODULATE,
COMBINE_MODE_ADD = CMZN_FIELD_IMAGE_COMBINE_MODE_ADD,
COMBINE_MODE_ADD_SIGNED = CMZN_FIELD_IMAGE_COMBINE_MODE_ADD_SIGNED,
COMBINE_MODE_MODULATE_SCALE_4 = CMZN_FIELD_IMAGE_COMBINE_MODE_MODULATE_SCALE_4,
COMBINE_MODE_BLEND_SCALE_4 = CMZN_FIELD_IMAGE_COMBINE_MODE_BLEND_SCALE_4,
COMBINE_MODE_SUBTRACT = CMZN_FIELD_IMAGE_COMBINE_MODE_SUBTRACT,
COMBINE_MODE_ADD_SCALE_4 = CMZN_FIELD_IMAGE_COMBINE_MODE_ADD_SCALE_4,
COMBINE_MODE_SUBTRACT_SCALE_4 = CMZN_FIELD_IMAGE_COMBINE_MODE_SUBTRACT_SCALE_4,
COMBINE_MODE_INVERT_ADD_SCALE_4 = CMZN_FIELD_IMAGE_COMBINE_MODE_INVERT_ADD_SCALE_4,
COMBINE_MODE_INVERT_SUBTRACT_SCALE_4 = CMZN_FIELD_IMAGE_COMBINE_MODE_INVERT_SUBTRACT_SCALE_4
} |
|
enum | FilterMode {
FILTER_MODE_INVALID = CMZN_FIELD_IMAGE_FILTER_MODE_INVALID,
FILTER_MODE_NEAREST = CMZN_FIELD_IMAGE_FILTER_MODE_NEAREST,
FILTER_MODE_LINEAR = CMZN_FIELD_IMAGE_FILTER_MODE_LINEAR,
FILTER_MODE_NEAREST_MIPMAP_NEAREST = CMZN_FIELD_IMAGE_FILTER_MODE_NEAREST_MIPMAP_NEAREST,
FILTER_MODE_LINEAR_MIPMAP_NEAREST = CMZN_FIELD_IMAGE_FILTER_MODE_LINEAR_MIPMAP_NEAREST,
FILTER_MODE_LINEAR_MIPMAP_LINEAR = CMZN_FIELD_IMAGE_FILTER_MODE_LINEAR_MIPMAP_LINEAR
} |
|
enum | HardwareCompressionMode { HARDWARE_COMPRESSION_MODE_INVALID = CMZN_FIELD_IMAGE_HARDWARE_COMPRESSION_MODE_INVALID,
HARDWARE_COMPRESSION_MODE_UNCOMPRESSED = CMZN_FIELD_IMAGE_HARDWARE_COMPRESSION_MODE_UNCOMPRESSED,
HARDWARE_COMPRESSION_MODE_AUTOMATIC = CMZN_FIELD_IMAGE_HARDWARE_COMPRESSION_MODE_AUTOMATIC
} |
|
enum | WrapMode {
WRAP_MODE_INVALID = CMZN_FIELD_IMAGE_WRAP_MODE_INVALID,
WRAP_MODE_CLAMP = CMZN_FIELD_IMAGE_WRAP_MODE_CLAMP,
WRAP_MODE_REPEAT = CMZN_FIELD_IMAGE_WRAP_MODE_REPEAT,
WRAP_MODE_EDGE_CLAMP = CMZN_FIELD_IMAGE_WRAP_MODE_EDGE_CLAMP,
WRAP_MODE_BORDER_CLAMP = CMZN_FIELD_IMAGE_WRAP_MODE_BORDER_CLAMP,
WRAP_MODE_MIRROR_REPEAT = CMZN_FIELD_IMAGE_WRAP_MODE_MIRROR_REPEAT
} |
|
enum | ChangeFlag {
CHANGE_FLAG_NONE = CMZN_FIELD_CHANGE_FLAG_NONE,
CHANGE_FLAG_ADD = CMZN_FIELD_CHANGE_FLAG_ADD,
CHANGE_FLAG_REMOVE = CMZN_FIELD_CHANGE_FLAG_REMOVE,
CHANGE_FLAG_IDENTIFIER = CMZN_FIELD_CHANGE_FLAG_IDENTIFIER,
CHANGE_FLAG_DEFINITION = CMZN_FIELD_CHANGE_FLAG_DEFINITION,
CHANGE_FLAG_FULL_RESULT = CMZN_FIELD_CHANGE_FLAG_FULL_RESULT,
CHANGE_FLAG_PARTIAL_RESULT = CMZN_FIELD_CHANGE_FLAG_PARTIAL_RESULT,
CHANGE_FLAG_RESULT = CMZN_FIELD_CHANGE_FLAG_RESULT,
CHANGE_FLAG_FINAL = CMZN_FIELD_CHANGE_FLAG_FINAL
} |
|
enum | CoordinateSystemType {
COORDINATE_SYSTEM_TYPE_INVALID = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_INVALID,
COORDINATE_SYSTEM_TYPE_RECTANGULAR_CARTESIAN = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_RECTANGULAR_CARTESIAN,
COORDINATE_SYSTEM_TYPE_CYLINDRICAL_POLAR = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_CYLINDRICAL_POLAR,
COORDINATE_SYSTEM_TYPE_SPHERICAL_POLAR = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_SPHERICAL_POLAR,
COORDINATE_SYSTEM_TYPE_PROLATE_SPHEROIDAL = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_PROLATE_SPHEROIDAL,
COORDINATE_SYSTEM_TYPE_OBLATE_SPHEROIDAL = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_OBLATE_SPHEROIDAL,
COORDINATE_SYSTEM_TYPE_FIBRE = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_FIBRE
} |
|
enum | DomainType {
DOMAIN_TYPE_INVALID = CMZN_FIELD_DOMAIN_TYPE_INVALID,
DOMAIN_TYPE_POINT = CMZN_FIELD_DOMAIN_TYPE_POINT,
DOMAIN_TYPE_NODES = CMZN_FIELD_DOMAIN_TYPE_NODES,
DOMAIN_TYPE_DATAPOINTS = CMZN_FIELD_DOMAIN_TYPE_DATAPOINTS,
DOMAIN_TYPE_MESH1D = CMZN_FIELD_DOMAIN_TYPE_MESH1D,
DOMAIN_TYPE_MESH2D = CMZN_FIELD_DOMAIN_TYPE_MESH2D,
DOMAIN_TYPE_MESH3D = CMZN_FIELD_DOMAIN_TYPE_MESH3D,
DOMAIN_TYPE_MESH_HIGHEST_DIMENSION = CMZN_FIELD_DOMAIN_TYPE_MESH_HIGHEST_DIMENSION
} |
|
enum | ValueType { VALUE_TYPE_INVALID = CMZN_FIELD_VALUE_TYPE_INVALID,
VALUE_TYPE_REAL = CMZN_FIELD_VALUE_TYPE_REAL,
VALUE_TYPE_STRING = CMZN_FIELD_VALUE_TYPE_STRING,
VALUE_TYPE_MESH_LOCATION = CMZN_FIELD_VALUE_TYPE_MESH_LOCATION
} |
|
typedef int | ChangeFlags |
|
typedef int | DomainTypes |
|
|
| FieldImage (cmzn_field_image_id field_image_id) |
|
int | getWidthInPixels () |
|
int | getHeightInPixels () |
|
int | getDepthInPixels () |
|
int | getSizeInPixels (int valuesCount, int *valuesOut) |
|
int | setSizeInPixels (int valuesCount, const int *valuesIn) |
|
double | getTextureCoordinateWidth () |
|
double | getTextureCoordinateHeight () |
|
double | getTextureCoordinateDepth () |
|
int | getTextureCoordinateSizes (int valuesCount, double *valuesOut) |
|
int | setTextureCoordinateWidth (double width) |
|
int | setTextureCoordinateHeight (double height) |
|
int | setTextureCoordinateDepth (double depth) |
|
int | setTextureCoordinateSizes (int valuesCount, const double *valuesIn) |
|
int | read (const StreaminformationImage &streaminformationImage) |
|
int | readFile (const char *fileName) |
|
int | write (const StreaminformationImage &streaminformationImage) |
|
CombineMode | getCombineMode () |
|
int | setCombineMode (CombineMode combineMode) |
|
Field | getDomainField () |
|
int | setDomainField (const Field &domainField) |
|
HardwareCompressionMode | getHardwareCompressionMode () |
|
int | setHardwareCompressionMode (HardwareCompressionMode hardwareCompressionMode) |
|
FilterMode | getFilterMode () |
|
int | setFilterMode (FilterMode filterMode) |
|
WrapMode | getWrapMode () |
|
int | setWrapMode (WrapMode wrapMode) |
|
char * | getProperty (const char *property) |
|
StreaminformationImage | createStreaminformationImage () |
|
| Field (cmzn_field_id field_id) |
|
| Field (const Field &field) |
|
Field & | operator= (const Field &field) |
|
bool | isValid () const |
|
cmzn_field_id | getId () const |
|
Fieldassignment | createFieldassignment (const Field &sourceField) |
|
bool | isManaged () |
|
int | setManaged (bool value) |
|
char * | getComponentName (int componentNumber) |
|
int | setComponentName (int componentNumber, const char *name) |
|
double | getCoordinateSystemFocus () |
|
int | setCoordinateSystemFocus (double focus) |
|
CoordinateSystemType | getCoordinateSystemType () |
|
int | setCoordinateSystemType (CoordinateSystemType coordinateSystemType) |
|
int | getNumberOfComponents () |
|
char * | getName () |
|
int | setName (const char *name) |
|
int | getNumberOfSourceFields () |
|
Field | getSourceField (int index) |
|
bool | isTypeCoordinate () |
|
int | setTypeCoordinate (bool value) |
|
ValueType | getValueType () |
|
Fieldmodule | getFieldmodule () const |
|
int | assignMeshLocation (const Fieldcache &cache, const Element &element, int coordinatesCount, const double *coordinatesIn) |
|
int | assignReal (const Fieldcache &cache, int valuesCount, const double *valuesIn) |
|
int | assignString (const Fieldcache &cache, const char *stringValue) |
|
Element | evaluateMeshLocation (const Fieldcache &cache, int coordinatesCount, double *coordinatesOut) |
|
int | evaluateReal (const Fieldcache &cache, int valuesCount, double *valuesOut) |
|
char * | evaluateString (const Fieldcache &cache) |
|
int | evaluateDerivative (const Differentialoperator&differentialOperator, const Fieldcache &cache, int valuesCount, double *valuesOut) |
|
bool | isDefinedAtLocation (const Fieldcache &cache) |
|
int | smooth (const Fieldsmoothing &fieldsmoothing) |
|
FieldComponent | castComponent () |
|
FieldEdgeDiscontinuity | castEdgeDiscontinuity () |
|
FieldEigenvalues | castEigenvalues () |
|
FieldElementGroup | castElementGroup () |
|
FieldFindMeshLocation | castFindMeshLocation () |
|
FieldFiniteElement | castFiniteElement () |
|
FieldGroup | castGroup () |
|
FieldImage | castImage () |
|
FieldImagefilterBinaryThreshold | castImagefilterBinaryThreshold () |
|
FieldImagefilterDiscreteGaussian | castImagefilterDiscreteGaussian () |
|
FieldImagefilterHistogram | castImagefilterHistogram () |
|
FieldImagefilterThreshold | castImagefilterThreshold () |
|
FieldMeshIntegral | castMeshIntegral () |
|
FieldNodeGroup | castNodeGroup () |
|
FieldStoredMeshLocation | castStoredMeshLocation () |
|
FieldStoredString | castStoredString () |
|
An image-based field giving the pixel colour/intensity values.
An image-based field giving the pixel colour/intensity values as a function of its domain texture coordinates, interpolated between pixels according to the filter mode. 2-D and 3-D images are supported. Graphics materials can have image fields attached to perform texturing.