7 #ifndef PXR_EXEC_VDF_GRAPHER_OPTIONS_H
8 #define PXR_EXEC_VDF_GRAPHER_OPTIONS_H
113 _printSingleOutputs = enable; }
118 return _printSingleOutputs; }
163 _drawColorizedConnectionsOnly = drawColorizedConnectionsOnly;
170 return _drawColorizedConnectionsOnly;
180 _nodesToGraph.push_back(
NodeLimit(&node, maxInDepth, maxOutDepth));
191 _objectColors[
object] = color;
204 _objectAnnotations[
object] = text;
224 _nodeFilterCallback = callback;
229 return _nodeFilterCallback;
236 _nodeStyleCallback = callback;
242 return _nodeStyleCallback;
253 const std::vector<std::string> &nameList,
254 bool includeIfInNameList,
260 _displayStyle = style;
273 bool _drawAffectsMasks;
298 bool _printSingleOutputs;
307 bool _omitUnconnectedSpecs;
310 bool _drawColorizedConnectionsOnly;
bool GetPrintSingleOutputs() const
VDF_API VdfGrapherOptions()
void AddNodeToGraph(const VdfNode &node, int maxInDepth, int maxOutDepth)
double GetPageWidth() const
NodeLimit(const VdfNode *n, int maxin, int maxout)
const NodeFilterCallback & GetNodeFilterCallback() const
Returns the callback used to filter nodes out of the graph.
void SetPageSize(double width, double height)
#define PXR_NAMESPACE_OPEN_SCOPE
std::function< DisplayStyle(const VdfNode &node, const VdfConnectionVector &drawnIn, const VdfConnectionVector &drawnOut)> NodeStyleCallback
double GetPageHeight() const
std::string GetAnnotation(const VdfObjectPtr &object) const
std::vector< NodeLimit > NodeLimitVector
DisplayStyle GetDisplayStyle() const
void SetDrawColorizedConnectionsOnly(bool drawColorizedConnectionsOnly)
static VDF_API bool DebugNameFilter(const std::vector< std::string > &nameList, bool includeIfInNameList, const VdfNode &node)
void SetColor(const VdfObjectPtr &object, const TfToken &color)
GLint GLsizei GLsizei height
void SetNodeStyleCallback(const NodeStyleCallback &callback)
void SetDrawAffectsMasks(bool drawMasks)
std::function< bool(const VdfNode &nodeToFilter)> NodeFilterCallback
bool GetDrawMasks() const
void SetOmitUnconnectedSpecs(bool omit)
void SetDisplayStyle(DisplayStyle style)
void SetAnnotation(const VdfObjectPtr &object, const std::string &text)
const NodeLimitVector & GetNodesToGraph() const
bool GetDrawColorizedConnectionsOnly() const
TfToken GetColor(const VdfObjectPtr &object) const
bool GetDrawAffectsMasks() const
#define PXR_NAMESPACE_CLOSE_SCOPE
bool GetUniqueIds() const
const NodeStyleCallback & GetNodeStyleCallback() const
void SetPrintSingleOutputs(bool enable)
void SetNodeFilterCallback(const NodeFilterCallback &callback)
bool GetOmitUnconnectedSpecs() const
void SetDrawMasks(bool drawMasks)
bool IsEmpty() const
Returns true iff this token contains the empty string "".
void SetUniqueIds(bool uniqueIds)
const Result TfMapLookupByValue(Container const &map, Key const &key, const Result &defaultValue)