HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ImfPartHelper.h File Reference
#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>
+ Include dependency graph for ImfPartHelper.h:

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)
 

Function Documentation

template<class T >
void GetChannelsInMultiPartFile ( const MultiPartInputFile file,
T &  chans 
)

Definition at line 218 of file ImfPartHelper.h.

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)

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
beginpointer to first MultiViewChannelName item
endpointer to end of MultiViewChannelName item array
Returns
total number of parts required

Definition at line 126 of file ImfPartHelper.h.