OpenCMISS-Zinc C++ API Documentation
|
A region-specific stream information object. More...
#include <streamregion.hpp>
Public Types | |
enum | Attribute { ATTRIBUTE_INVALID = CMZN_STREAMINFORMATION_REGION_ATTRIBUTE_INVALID, ATTRIBUTE_TIME = CMZN_STREAMINFORMATION_REGION_ATTRIBUTE_TIME } |
Public Types inherited from OpenCMISS::Zinc::Streaminformation | |
enum | DataCompressionType { DATA_COMPRESSION_TYPE_INVALID = CMZN_STREAMINFORMATION_DATA_COMPRESSION_TYPE_INVALID, DATA_COMPRESSION_TYPE_DEFAULT = CMZN_STREAMINFORMATION_DATA_COMPRESSION_TYPE_DEFAULT, DATA_COMPRESSION_TYPE_NONE = CMZN_STREAMINFORMATION_DATA_COMPRESSION_TYPE_NONE, DATA_COMPRESSION_TYPE_GZIP = CMZN_STREAMINFORMATION_DATA_COMPRESSION_TYPE_GZIP, DATA_COMPRESSION_TYPE_BZ2 = CMZN_STREAMINFORMATION_DATA_COMPRESSION_TYPE_BZIP2 } |
Public Member Functions | |
StreaminformationRegion (cmzn_streaminformation_region_id streaminformation_region_id) | |
bool | isValid () const |
cmzn_streaminformation_region_id | getId () const |
int | hasAttribute (Attribute attribute) |
double | getAttributeReal (Attribute attribute) |
int | setAttributeReal (Attribute attribute, double value) |
int | hasResourceAttribute (const Streamresource &resource, Attribute attribute) |
double | getResourceAttributeReal (const Streamresource &resource, Attribute attribute) |
int | setResourceAttributeReal (const Streamresource &resource, Attribute attribute, double value) |
Field::DomainTypes | getResourceDomainTypes (const Streamresource &resource) |
int | setResourceDomainTypes (const Streamresource &resource, Field::DomainTypes domainTypes) |
Public Member Functions inherited from OpenCMISS::Zinc::Streaminformation | |
Streaminformation (cmzn_streaminformation_id in_streaminformation_id) | |
Streaminformation (const Streaminformation &streamInformation) | |
Streaminformation & | operator= (const Streaminformation &streamInformation) |
bool | isValid () const |
cmzn_streaminformation_id | getId () const |
StreamresourceFile | createStreamresourceFile (const char *file_name) |
StreamresourceMemory | createStreamresourceMemory () |
StreamresourceMemory | createStreamresourceMemoryBuffer (const void *buffer, unsigned int buffer_length) |
enum DataCompressionType | getResourceDataCompressionType (const Streamresource &resource) |
int | setResourceDataCompressionType (const Streamresource &resource, DataCompressionType dataCompressionType) |
enum DataCompressionType | getDataCompressionType () |
int | setDataCompressionType (DataCompressionType dataCompressionType) |
StreaminformationImage | castImage () |
StreaminformationRegion | castRegion () |
Additional Inherited Members | |
Protected Attributes inherited from OpenCMISS::Zinc::Streaminformation | |
cmzn_streaminformation_id | id |
A region-specific stream information object.
A region-specific stream information object, used to specify one or more model files/resources for a region to read from or write to, with attributes specified for them either globally or per-resource.
|
inline |
Get a real value of an attribute of streaminformation.
attribute | The identifier of the real attribute to get. |
|
inline |
Return the C handle of the StreaminformationRegion object.
|
inline |
Get a real value of an attribute of a stream in streaminformation.
resource | Handle to the stream resource. |
attribute | The identifier of the real attribute to get. |
|
inline |
Check either an attribute of streaminformation has been set or not.
attribute | The identifier of the real attribute to get. |
|
inline |
Check either an attribute of a stream in streaminformation has been set or not.
resource | Handle to the stream resource. |
attribute | The identifier of the real attribute to get. |
|
inline |
Check if this is a valid StreaminformationRegion object.
|
inline |
Set a double attribute of the region stream information valid for all resources unless overridden for individual resources.
attribute | The identifier of the double attribute to set. |
value | The new value for the attribute. |
|
inline |
Set a double attribute for a resource in the region stream information.
resource | Handle to the stream resource. |
attribute | The identifier of the double attribute to set. |
value | The new value for the attribute. |