VFieldRenderObject.hpp

00001 #ifndef __VFIELDRENDEROBJECT_HPP
00002 #define __VFIELDRENDEROBJECT_HPP
00003 
00004 #include <bone/FishField.hpp>
00005 #include <bone/FishSkeleton.hpp>
00006 #include <bone/FishSlice.hpp>
00007 
00008 #include <ocean/GLvish/VGLRenderObject.hpp>
00009 
00010 #include "fisheyeDllApi.h"
00011 
00012 
00013 namespace Wizt
00014 {
00015 
00021 class    fisheye_API VFieldRenderObject : public virtual VGLRenderObject,
00022                                           public virtual Fish<Fiber::Field>
00023 {
00024 public:
00025         enum { NumberOfInputFields = Fish<Fiber::Field>::NumberOfInputFields }; 
00026 
00028         VFieldRenderObject(const string&name, int p,
00029                            const RefPtr<VCreationPreferences>&VP, const string&field = "field")
00030         : VGLRenderObject(name, p, VP)
00031         , Fish<VObject>(this)
00032         , Fish<Fiber::Field>( field.length()>0?field:"field" )
00033         {} 
00034 
00036         ~VFieldRenderObject(); 
00037 
00038         
00039         override bool CreatedFilteredConnection(const RefPtr<VParameter>&SourceParam);
00040 };
00041 
00042 } // namespace Wizt
00043 
00044 #endif // __VFIELDRENDEROBJECT_HPP