blob: fade595b2f2e135be77932a9cfae92b2d7c0487d (
plain) (
blame)
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
40
41
42
43
44
45
46
47
48
|
#include "precompiled/PCH.h"
#ifndef INTERSECTION_LOCATOR
#define INTERSECTION_LOCATOR
#include "main/constants.h"
class tlDataChunk;
class IntersectionLocatorNode : public MPxLocatorNode
{
public:
IntersectionLocatorNode();
~IntersectionLocatorNode();
static void* creator();
virtual void draw( M3dView& view,
const MDagPath& path,
M3dView::DisplayStyle displayStyle,
M3dView::DisplayStatus displayStatus
);
static MStatus initialize();
virtual void postConstructor();
//This is how you export one of these.
static tlDataChunk* Export( MObject& intersectionLocatorNode, tlHistory& history );
static const char* TYPE_NAME_LONG;
static const char* TYPE_NAME_SHORT;
static MObject mType;
static const char* ROAD_LONG;
static const char* ROAD_SHORT;
static MObject mRoads; //This is an out message to all the roads this intersection connects.
static MTypeId id;
static const char* stringId;
private:
static const int ACTIVE_COLOUR;
static const int INACTIVE_COLOUR;
static const float SCALE;
};
#endif
|