#include <OpenColorTransforms.h>
Definition at line 1333 of file OpenColorTransforms.h.
OCIO_NAMESPACE::GroupTransform::GroupTransform |
( |
const GroupTransform & |
| ) |
|
|
delete |
virtual OCIO_NAMESPACE::GroupTransform::~GroupTransform |
( |
| ) |
|
|
virtualdefault |
Do not use (needed only for pybind11).
OCIO_NAMESPACE::GroupTransform::GroupTransform |
( |
| ) |
|
|
protecteddefault |
Adds a transform to the end of the group.
static const char* OCIO_NAMESPACE::GroupTransform::GetFormatExtensionByIndex |
( |
int |
index | ) |
|
|
staticnoexcept |
virtual const FormatMetadata& OCIO_NAMESPACE::GroupTransform::getFormatMetadata |
( |
| ) |
const |
|
pure virtualnoexcept |
virtual FormatMetadata& OCIO_NAMESPACE::GroupTransform::getFormatMetadata |
( |
| ) |
|
|
pure virtualnoexcept |
static const char* OCIO_NAMESPACE::GroupTransform::GetFormatNameByIndex |
( |
int |
index | ) |
|
|
staticnoexcept |
Get the writer at index, return empty string if an invalid index is specified.
virtual int OCIO_NAMESPACE::GroupTransform::getNumTransforms |
( |
| ) |
const |
|
pure virtualnoexcept |
Return number of transforms.
static int OCIO_NAMESPACE::GroupTransform::GetNumWriteFormats |
( |
| ) |
|
|
staticnoexcept |
Get the number of writers.
Throws if index is not allowed.
Throws if index is not allowed.
Add a transform at the beginning of the group.
virtual void OCIO_NAMESPACE::GroupTransform::write |
( |
const ConstConfigRcPtr & |
config, |
|
|
const char * |
formatName, |
|
|
std::ostream & |
os |
|
) |
| const |
|
pure virtual |
Write the transforms comprising the group to the stream.
Writing (as opposed to Baking) is a lossless process. An exception is thrown if the processor cannot be losslessly written to the specified file format. Transforms such as FileTransform or ColorSpaceTransform are resolved into write-able simple transforms using the config and context. Supported formats include CTF, CLF, and CDL. All available formats can be listed with the following:
std::ostringstream formats;
formats << "Formats to write to: ";
{
if (i != 0) formats << ", ";
}
The documentation for this class was generated from the following file: