forked from sideeffects/HoudiniEngineForMaya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInputParticle.h
37 lines (29 loc) · 833 Bytes
/
InputParticle.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
#ifndef __InputParticle_h__
#define __InputParticle_h__
#include "Input.h"
#include <HAPI/HAPI.h>
class InputParticle : public Input
{
public:
InputParticle(int assetId, int inputIdx);
virtual ~InputParticle();
virtual AssetInputType assetInputType() const;
virtual void setInputTransform(MDataHandle &dataHandle);
virtual void setInputGeo(
MDataBlock &dataBlock,
const MPlug &plug
);
protected:
void setAttributePointData(
const char* attributeName,
HAPI_StorageType storage,
int count,
int tupleSize,
void* data
);
protected:
int myInputAssetId;
int myInputObjectId;
int myInputGeoId;
};
#endif