00001 #pragma once 00002 #ifndef PLANE_H 00003 #define PLANE_H 00004 00005 #include "Rendernode.h" 00006 00007 namespace RenderTools { 00008 00009 class Plane : public Rendernode { 00010 public: 00011 00012 Plane( void ); 00013 virtual ~Plane( void ); 00014 00015 static PropertyPtr create( const XMLNodePtr & xml = XMLNodePtr() ); 00016 virtual void createProperties( void ); 00017 virtual const string getTypeName( bool ofComponent = false ) const; 00018 00019 virtual void onInitialize( void ); 00020 virtual void render( void ); 00021 00022 void fromEquation( const Vec4 & equation, bool send = true ); 00023 Vec3 getNormal( void ) const; 00024 00025 protected: 00026 }; 00027 00028 }; // namespace RenderTools 00029 00030 00031 #endif
1.5.8