#include <IParticleChannelTrueFalseIterator.h>
◆ OrbazTrueBlockEnumerator()
142 : m_trueBlocks(trueBlocks)
◆ proc()
- Parameters:
- int n
This is the zero based index into the BitArray of the element which is "1".
Implements BitArrayCallback.
149 int curMajorIndex = n & kMajorIndexMask;
150 if (m_blockIndex >= 0)
152 if (m_trueBlocks[m_blockIndex].GetMajorIndex() != curMajorIndex)
void SetMajorIndex(int index)
Definition: IParticleChannelTrueFalseIterator.h:96
void AddBlockIndex(int index)
◆ NumBlocksSet()
165 {
return m_blockIndex+1; }
◆ operator=()
170 m_trueBlocks = rhs.m_trueBlocks;
171 m_blockIndex = rhs.m_blockIndex;