18 #ifndef __HUSD_Preferences_h__ 
   19 #define __HUSD_Preferences_h__ 
   36     static bool                  setDefaultNewPrimPath(
 
   40     static bool                  setDefaultCollectionsPrimPath(
 
   44     static bool                  setDefaultCollectionsPrimType(
 
   48     static bool                  setDefaultLightsPrimPath(
 
   52     static bool                  setDefaultCamerasPrimPath(
 
   56     static bool                  setDefaultTransformSuffix(
 
   59     static bool                  showResolvedPaths();
 
   60     static bool                  setShowResolvedPaths(
 
   61                                         bool show_resolved_paths);
 
   63     static bool                  panesFollowCurrentNode();
 
   64     static bool                  setPanesFollowCurrentNode(
 
   65                                         bool follow_current_node);
 
   67     static bool                  panesShowViewportStage();
 
   68     static bool                  setPanesShowViewportStage(
 
   69                                         bool show_viewport_stage);
 
   71     static bool                  panesShowPostLayers();
 
   72     static bool                  setPanesShowPostLayers(
 
   73                                         bool show_post_layers);
 
   75     static bool                  autoSetAssetResolverContext();
 
   76     static bool                  setAutoSetAssetResolverContext(
 
   77                                         bool auto_set_context);
 
   79     static bool                  updateRendererInBackground();
 
   80     static bool                  setUpdateRendererInBackground(
 
   81                                         bool update_in_background);
 
   83     static bool                  loadPayloadsByDefault();
 
   84     static bool                  setLoadPayloadsByDefault(
 
   87     static bool                  usingHoudiniMetersPerUnit();
 
   88     static double                defaultMetersPerUnit();
 
   89     static bool                  setDefaultMetersPerUnit(
 
   90                                         double metersperunit);
 
   92     static bool                  usingUsdUpAxis();
 
   94     static bool                  setDefaultUpAxis(
 
   97     static bool                  allowViewportOnlyPayloads();
 
   98     static bool                  setAllowViewportOnlyPayloads(
 
   99                                         bool allow_viewport_only_payloads);
 
  101     static bool                  pathParameterCompletion();
 
  102     static bool                  setPathParameterCompletion(
 
  103                                         bool path_parameter_completion);
 
  105     static bool                  savePrefs();
 
  106     static bool                  loadPrefs();
 
  109     static int                   addPrefChangeCallback(
 
  111     static void                  removePrefChangeCallback(
int id);
 
  114     static void                  runPrefChangeCallbacks();
 
  122     static bool                  theShowResolvedPaths;
 
  123     static bool                  thePanesFollowCurrentNode;
 
  124     static bool                  thePanesShowViewportStage;
 
  125     static bool                  thePanesShowPostLayers;
 
  126     static bool                  theAutoSetAssetResolverContext;
 
  127     static bool                  theUpdateRendererInBackground;
 
  128     static bool                  theLoadPayloadsByDefault;
 
  129     static double                theDefaultMetersPerUnit;
 
  131     static bool                  theAllowViewportOnlyPayloads;
 
  132     static bool                  thePathParameterCompletion;
 
  134     static int                               thePrefChangeCallbackId;
 
GLsizei const GLchar *const * path
 
UT_Function< void(void)> PrefChangeCallback
 
std::function< T > UT_Function