// 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 _VrmlConverter_ShadedShape_HeaderFile #define _VrmlConverter_ShadedShape_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif #ifndef _Handle_VrmlConverter_Drawer_HeaderFile #include #endif class TopoDS_Shape; class VrmlConverter_Drawer; class TopoDS_Face; class Poly_Connect; class TColgp_Array1OfDir; //! ShadedShape - computes the shading presentation of shapes
//! by triangulation algorithms, converts this one into VRML objects
//! and writes (adds) into anOStream.
//! All requested properties of the representation including
//! the maximal chordial deviation are specify in aDrawer.
//! This kind of the presentation is converted into
//! IndexedFaceSet ( VRML ).
class VrmlConverter_ShadedShape { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT static void Add(Standard_OStream& anOStream,const TopoDS_Shape& aShape,const Handle(VrmlConverter_Drawer)& aDrawer) ; Standard_EXPORT static void ComputeNormal(const TopoDS_Face& aFace,Poly_Connect& pc,TColgp_Array1OfDir& Nor) ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif