HDK
|
#include "ImfForward.h"
#include "ImfNamespace.h"
#include "ImfExport.h"
#include "ImfMultiPartInputFile.h"
#include "ImfChannelList.h"
#include "ImfStringVectorAttribute.h"
#include "ImfStandardAttributes.h"
#include "ImfMultiView.h"
#include <string>
#include <map>
#include <set>
Go to the source code of this file.
Classes | |
struct | MultiViewChannelName |
Functions | |
template<typename T > | |
int | SplitChannels (const T &begin, const T &end, bool multipart=true, const std::string &heroView="") |
assigns individual channels to different parts based on their layer and view name input is an array, list, vector etc of MultiViewChannelName objects on entry, each MultiViewChannelName name/view must be set (view can be empty if not multiview) More... | |
template<class T > | |
void | GetChannelsInMultiPartFile (const MultiPartInputFile &file, T &chans) |
void GetChannelsInMultiPartFile | ( | const MultiPartInputFile & | file, |
T & | chans | ||
) |
Definition at line 218 of file ImfPartHelper.h.
int SplitChannels | ( | const T & | begin, |
const T & | end, | ||
bool | multipart = true , |
||
const std::string & | heroView = "" |
||
) |
assigns individual channels to different parts based on their layer and view name input is an array, list, vector etc of MultiViewChannelName objects on entry, each MultiViewChannelName name/view must be set (view can be empty if not multiview)
if singlepart set, then on exit part_number will be zero, and internal_name will have view name inserted otherwise, each channel will be assigned to a different part based on its layer name and view name
begin | pointer to first MultiViewChannelName item |
end | pointer to end of MultiViewChannelName item array |
Definition at line 126 of file ImfPartHelper.h.