// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Vrml_Normal_HeaderFile #define _Vrml_Normal_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Vrml_Normal_HeaderFile #include #endif #ifndef _Handle_TColgp_HArray1OfVec_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class TColgp_HArray1OfVec; //! defines a Normal node of VRML specifying properties of geometry
//! and its appearance.
//! This node defines a set of 3D surface normal vectors to be used by vertex-based shape
//! nodes (IndexedFaceSet, IndexedLineSet, PointSet) that follow it in the scene graph. This
//! node does not produce a visible result during rendering; it simply replaces the current
//! normals in the rendering state for subsequent nodes to use. This node contains one
//! multiple-valued field that contains the normal vectors.
class Vrml_Normal : public MMgt_TShared { public: Standard_EXPORT Vrml_Normal(const Handle(TColgp_HArray1OfVec)& aVector); Standard_EXPORT Vrml_Normal(); Standard_EXPORT void SetVector(const Handle(TColgp_HArray1OfVec)& aVector) ; Standard_EXPORT Handle_TColgp_HArray1OfVec Vector() const; Standard_EXPORT Standard_OStream& Print(Standard_OStream& anOStream) const; DEFINE_STANDARD_RTTI(Vrml_Normal) protected: private: Handle_TColgp_HArray1OfVec myVector; }; // other Inline functions and methods (like "C++: function call" methods) #endif