#include "ImfChannelList.h"
#include "ImfExport.h"
#include "ImfForward.h"
#include "ImfMultiPartInputFile.h"
#include "ImfMultiView.h"
#include "ImfNamespace.h"
#include "ImfStandardAttributes.h"
#include "ImfStringVectorAttribute.h"
#include <map>
#include <set>
#include <string>
Go to the source code of this file.
template<typename T >
int SplitChannels |
( |
const T & |
begin, |
|
|
const T & |
end, |
|
|
bool |
multipart = true , |
|
|
const std::string & |
heroView = std::string () |
|
) |
| |
|
inline |
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
- Parameters
-
- Returns
- total number of parts required
Definition at line 87 of file ImfPartHelper.h.