void IntersectProxyAttachmentBase::execSyncV(      FieldContainer    &oFrom,
                                        ConstFieldMaskArg  whichField,
                                        AspectOffsetStore &oOffsets,
                                        ConstFieldMaskArg  syncMode,
                                  const UInt32             uiSyncInfo)
{
    IntersectProxyAttachment *pThis = static_cast<IntersectProxyAttachment *>(this);

    pThis->execSync(static_cast<IntersectProxyAttachment *>(&oFrom),
                    whichField,
                    oOffsets,
                    syncMode,
                    uiSyncInfo);
}
Action::ResultE IntersectAction::onEnterNode(Node* node, Action* action)
{
    OSG_ASSERT(this == action && node == _actNode);

    ResultE result = Continue;

    IntersectProxyAttachment* ipa = dynamic_cast<IntersectProxyAttachment*>(
        node->findAttachment(IntersectProxyAttachment::getClassType()));

    if(ipa != NULL)
    {
        result = ipa->intersectEnter(node, this);
    }

    return result;
}
Example #3
0
Action::ResultE IntersectAction::onEnterNode(Node* node, Action* action)
{
    OSG_ASSERT(this == action && node == _actNode);

    ResultE result = Continue;

    _path.push_back(node);

    _statistics->getElem(statNNodes)->inc();

    IntersectProxyAttachment* ipa = dynamic_cast<IntersectProxyAttachment*>(
        node->findAttachment(IntersectProxyAttachment::getClassType()));

    if(ipa != NULL)
    {
        result = ipa->intersectEnter(node, this);
    }

    return result;
}