HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CH_Manager.h File Reference
#include "CH_API.h"
#include "CH_ChannelRef.h"
#include "CH_EvalContextFwd.h"
#include "CH_ExprLanguage.h"
#include "CH_KeyState.h"
#include "CH_Types.h"
#include <DEP/DEP_ContextOptions.h>
#include <UT/UT_Assert.h>
#include <UT/UT_Color.h>
#include <UT/UT_IntArray.h>
#include <UT/UT_Map.h>
#include <UT/UT_NonCopyable.h>
#include <UT/UT_Set.h>
#include <UT/UT_String.h>
#include <UT/UT_StringMap.h>
#include <UT/UT_StringArray.h>
#include <UT/UT_SuperInterval.h>
#include <UT/UT_Thread.h>
#include <UT/UT_ThreadSpecificValue.h>
#include <UT/UT_ValArray.h>
#include <SYS/SYS_Floor.h>
#include <SYS/SYS_Hash.h>
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Types.h>
#include <iosfwd>
+ Include dependency graph for CH_Manager.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CH_ChannelColorManager
 
class  CH_ChannelChanged
 
class  CH_FilterChanged
 
class  CH_LoadInfo
 
class  CH_ScopedChannels
 
class  CH_Manager
 
struct  CH_Manager::chParamKey::Hasher
 
class  CH_AutoEvaluateTime
 Push & restore the evaluation time (and optionally a channel collection) More...
 
class  CH_AutoEvalCollection
 
class  CH_ActiveLayerContrib
 

Typedefs

typedef bool(* CH_StringVarEvalFunc )(UT_String &val, int varid, int thread)
 
typedef bool(* CH_FloatVarEvalFunc )(fpreal &val, int varid, int thread)
 
typedef bool(* CH_IntVarEvalFunc )(int &val, int varid, int thread)
 

Functions

CH_API void CHsortChannels (CH_ChannelList &channels)
 
CH_API void CHsortChannelRefs (CH_ChannelRefList &channels)
 
CH_API void CHsortChannelPaths (UT_StringArray &channel_paths)
 
CH_API void CHsortLayerRefs (CH_ChannelRefList &channels)
 
CH_API void CHchannelsToCollections (CH_ChannelList const &channels, CH_CollectionList &collections)
 
CH_ManagerCHgetManager ()
 
CH_ScopedChannelsCHgetScopedChannels ()
 
fpreal CHgetEvalTime ()
 
fpreal CHgetEvalTime (int thread)
 
CH_API fpreal CHgetTimeFromFrame (fpreal frame)
 
CH_API int CHgetFrameFromTime (fpreal time)
 
CH_API fpreal CHgetSampleFromTime (fpreal time)
 
CH_API void CHbuildRange (int start, int end, UT_SuperIntervalR &r)
 
CH_API void CHoutputChannelList (UT_WorkBuffer &info, CH_ChannelList &channels)
 
CH_API void CHoutputChannelList (UT_WorkBuffer &info, UT_StringArray &channel_paths)
 
CH_API void CHdisplayFlags (unsigned flags, std::ostream &s)
 

Typedef Documentation

typedef bool(* CH_FloatVarEvalFunc)(fpreal &val, int varid, int thread)

Definition at line 59 of file CH_Manager.h.

typedef bool(* CH_IntVarEvalFunc)(int &val, int varid, int thread)

Definition at line 60 of file CH_Manager.h.

typedef bool(* CH_StringVarEvalFunc)(UT_String &val, int varid, int thread)

Definition at line 58 of file CH_Manager.h.

Function Documentation

CH_API void CHbuildRange ( int  start,
int  end,
UT_SuperIntervalR r 
)
CH_API void CHchannelsToCollections ( CH_ChannelList const channels,
CH_CollectionList collections 
)
CH_API void CHdisplayFlags ( unsigned  flags,
std::ostream &  s 
)
fpreal CHgetEvalTime ( )
inline
fpreal CHgetEvalTime ( int  thread)
inline

Definition at line 1721 of file CH_Manager.h.

CH_API int CHgetFrameFromTime ( fpreal  time)
CH_Manager* CHgetManager ( )
inline
CH_API fpreal CHgetSampleFromTime ( fpreal  time)
CH_ScopedChannels& CHgetScopedChannels ( )
inline

Definition at line 1711 of file CH_Manager.h.

CH_API fpreal CHgetTimeFromFrame ( fpreal  frame)
CH_API void CHoutputChannelList ( UT_WorkBuffer info,
CH_ChannelList channels 
)

The CHoutputChannelList functions output a formatted string representing the given channels. One version of the function takes a list of channels while the other takes a string array of full paths to channels. The given arrays may be modified (they might need sorting).

CH_API void CHoutputChannelList ( UT_WorkBuffer info,
UT_StringArray channel_paths 
)
CH_API void CHsortChannelPaths ( UT_StringArray channel_paths)
CH_API void CHsortChannelRefs ( CH_ChannelRefList channels)
CH_API void CHsortChannels ( CH_ChannelList channels)
CH_API void CHsortLayerRefs ( CH_ChannelRefList channels)