HDK
|
#include "GA_API.h"
#include "GA_Iterator.h"
#include "GA_Range.h"
#include "GA_SplittableRange.h"
#include "GA_Types.h"
#include <UT/UT_ThreadedAlgorithm.h>
#include <stddef.h>
Go to the source code of this file.
Classes | |
class | GA_PageIterator |
Macros | |
#define | GA_FOR_INFORANGE(info, full_range, IT_NAME) |
#define | GA_FOR_INFORANGE_BOSS(info, full_range, IT_NAME, boss) |
#define | GA_FOR_INFO_ALLPOINTS(gdp, info, IT_NAME) |
Iterate over all points for the given info. More... | |
#define | GA_FOR_INFO_ALLPOINTS_BOSS(gdp, info, IT_NAME, boss) |
Iterate over all points for the given info with a UT_Interrupt. More... | |
#define | GA_FOR_INFO_GROUP_POINTS_BOSS(gdp, pointgrp, info, IT_NAME, boss) |
Iterate over all points for the given info with a UT_Interrupt. More... | |
#define GA_FOR_INFO_ALLPOINTS | ( | gdp, | |
info, | |||
IT_NAME | |||
) |
Iterate over all points for the given info.
Definition at line 136 of file GA_PageIterator.h.
#define GA_FOR_INFO_ALLPOINTS_BOSS | ( | gdp, | |
info, | |||
IT_NAME, | |||
boss | |||
) |
Iterate over all points for the given info with a UT_Interrupt.
Definition at line 143 of file GA_PageIterator.h.
#define GA_FOR_INFO_GROUP_POINTS_BOSS | ( | gdp, | |
pointgrp, | |||
info, | |||
IT_NAME, | |||
boss | |||
) |
Iterate over all points for the given info with a UT_Interrupt.
Definition at line 151 of file GA_PageIterator.h.
#define GA_FOR_INFORANGE | ( | info, | |
full_range, | |||
IT_NAME | |||
) |
Define macros roughly equivalent to FOR_INFOTASKS (in UT_ThreadedAlgorithm). This will break up the full range into a load balanced iteration over pages. For example: GA_FOR_INFOTASKS(info, gdp->getPointRange(), it) { doSomething(it.getOrder()); // Use point number doSomething(it.getOffset()); // Use point offset }
Definition at line 121 of file GA_PageIterator.h.
#define GA_FOR_INFORANGE_BOSS | ( | info, | |
full_range, | |||
IT_NAME, | |||
boss | |||
) |
Like FOR_INFOTASKS_BOSS, iterate with an optional opInterrupt for every block completed.
Definition at line 129 of file GA_PageIterator.h.