diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2009-03-21 01:45:22 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2009-03-21 01:45:22 +0300 |
commit | ac0918a1beb4c40dab17a914ca58042642a266d0 (patch) | |
tree | 85855eebff6717e76fab488656cdc31c4645073d /source/blender/freestyle/intern/stroke | |
parent | c5fe802ec8a739f947e94d519f1a1f14b09c5889 (diff) |
Added getExactTypeName() method.
Diffstat (limited to 'source/blender/freestyle/intern/stroke')
-rwxr-xr-x | source/blender/freestyle/intern/stroke/Chain.h | 4 | ||||
-rwxr-xr-x | source/blender/freestyle/intern/stroke/Curve.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/stroke/Chain.h b/source/blender/freestyle/intern/stroke/Chain.h index 042437a4154..711ae16a1a0 100755 --- a/source/blender/freestyle/intern/stroke/Chain.h +++ b/source/blender/freestyle/intern/stroke/Chain.h @@ -57,6 +57,10 @@ public: delete _splittingId; } } + /*! Returns the string "Chain" */ + virtual string getExactTypeName() const { + return "Chain"; + } /*! Adds a ViewEdge at the end of the chain * \param iViewEdge diff --git a/source/blender/freestyle/intern/stroke/Curve.h b/source/blender/freestyle/intern/stroke/Curve.h index ee27e92fa37..52a0dda1f17 100755 --- a/source/blender/freestyle/intern/stroke/Curve.h +++ b/source/blender/freestyle/intern/stroke/Curve.h @@ -314,6 +314,10 @@ public: Curve(const Curve& iBrother) {_Length = iBrother._Length;_Vertices = iBrother._Vertices;_Id=iBrother._Id;_nSegments=0;} /*! Destructor. */ virtual ~Curve() ; + /*! Returns the string "Curve" */ + virtual string getExactTypeName() const { + return "Curve"; + } /* fredo's curvature storage |