mirror of
https://github.com/overte-org/overte.git
synced 2025-07-10 12:18:47 +02:00
24 lines
691 B
C++
24 lines
691 B
C++
//
|
|
// RecurseOctreeToMapOperator.h
|
|
// libraries/entities/src
|
|
//
|
|
// Created by Seth Alves on 3/16/15.
|
|
// Copyright 2013 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include "EntityTree.h"
|
|
|
|
class RecurseOctreeToMapOperator : public RecurseOctreeOperator {
|
|
public:
|
|
RecurseOctreeToMapOperator(QVariantMap& map, OctreeElement *top, QScriptEngine *engine);
|
|
bool preRecursion(OctreeElement* element);
|
|
bool postRecursion(OctreeElement* element);
|
|
private:
|
|
QVariantMap& _map;
|
|
OctreeElement *_top;
|
|
QScriptEngine *_engine;
|
|
bool _withinTop;
|
|
};
|