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,
85 void getTileConnectorList(op_LayoutTile *tile);
89 void moveTilesFirstBranch(op_LayoutTree *tree,
92 void moveTileFirstBranch(op_LayoutTree *tree,
97 void layoutSingleTree(op_LayoutTree *tree);
100 void layoutOneTileTreeList(
104 op_TileList *layoutSingleBranch(op_LayoutBranch *branch,
105 op_LayoutTile *listTile,
109 void squeezeTree(op_LayoutTree *tree,
115 op_LayoutBranch *branch);
119 bool extra_space =
false);
121 bool isOverlapped(op_LayoutTile *node,
127 void postAdjustCorner();
131 void updateTiles(
int treeNumber = 0);
136 op_LayoutTile *getConnectorTile(op_LayoutTile *tile,
int index,
143 bool appendTrunkToList(
op_TileList *trunk_tile_list,
144 op_LayoutTile *tile);
157 int myCurrentTreeNumber;
173 fpreal myChildSpaceFactor;
174 fpreal myParentSpaceFactor;
178 fpreal myCousinSpaceFactor1;
181 fpreal myCousinSpaceFactor2;
183 fpreal myCousinSpaceFactor3;
190 bool myHitCurrentTree;
193 bool myStaggerSinglesFlag;
195 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
GLint GLint GLsizei GLsizei GLsizei depth
UT_ValArray< op_LayoutTree * > op_TreeList