-
Notifications
You must be signed in to change notification settings - Fork 60
/
OutputGeometryObject.h
39 lines (28 loc) · 1.01 KB
/
OutputGeometryObject.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef __OutputGeometryObject_h__
#define __OutputGeometryObject_h__
#include "OutputObject.h"
#include <vector>
#include "AssetNodeOptions.h"
class OutputGeometry;
class OutputGeometryObject : public OutputObject
{
public:
OutputGeometryObject(HAPI_NodeId nodeId);
virtual ~OutputGeometryObject();
virtual MStatus compute(const MTime &time,
const MPlug &objectPlug,
MDataBlock &data,
MDataHandle &objectHandle,
const MIntArray &instancedObjIds,
const MStringArray &instancedObjNames,
AssetNodeOptions::AccessorDataBlock &options,
bool &needToSyncOutputs,
const bool needToRecomputeOutputData);
virtual ObjectType type();
private:
void update();
void updateTransform(MDataHandle &handle, const bool preserveScale);
private:
std::vector<OutputGeometry *> myGeos;
};
#endif