26 class op_LayoutBranch;
69 bool currentTreeOnly =
false,
70 bool selectedOnly =
false,
72 fpreal child_space_factor = -1,
73 fpreal parent_space_factor = -1,
79 void initSpaceFactor(
fpreal child_s_f,
fpreal parent_s_f);
81 void buildTree(op_LayoutTile *current_tile,
84 void getTileConnectorList(op_LayoutTile *tile);
88 void moveTilesFirstBranch(op_LayoutTree *tree,
91 void moveTileFirstBranch(op_LayoutTree *tree,
96 void layoutSingleTree(op_LayoutTree *tree);
99 void layoutOneTileTreeList(
103 op_TileList *layoutSingleBranch(op_LayoutBranch *branch,
104 op_LayoutTile *listTile,
108 void squeezeTree(op_LayoutTree *tree,
114 op_LayoutBranch *branch);
118 bool extra_space =
false);
120 bool isOverlapped(op_LayoutTile *node,
126 void postAdjustCorner();
130 void updateTiles(
int treeNumber = 0);
135 op_LayoutTile *getConnectorTile(op_LayoutTile *tile,
int index,
142 bool appendTrunkToList(
op_TileList *trunk_tile_list,
143 op_LayoutTile *tile);
156 int myCurrentTreeNumber;
172 fpreal myChildSpaceFactor;
173 fpreal myParentSpaceFactor;
177 fpreal myCousinSpaceFactor1;
180 fpreal myCousinSpaceFactor2;
182 fpreal myCousinSpaceFactor3;
189 bool myHitCurrentTree;
192 bool myStaggerSinglesFlag;
194 bool myLayoutThisTreeOnly;
UT_ValArray< op_LayoutTile * > op_TileList
IMF_EXPORT IMATH_NAMESPACE::V3f direction(const IMATH_NAMESPACE::Box2i &dataWindow, const IMATH_NAMESPACE::V2f &pixelPosition)
GU_API void snapGrid(GU_Detail &gdp, const GridSnapParms &parms)
UT_ValArray< op_LayoutBranch * > op_BranchList
UT_ValArray< op_LayoutTree * > op_TreeList