Drawing::ProjectionAlgos Class Reference

Algo class for projecting shapes and creating SVG output of it. More...

#include <ProjectionAlgos.h>

List of all members.

Public Types

enum  SvgExtractionType { Plain = 0, WithHidden = 1, WithSmooth = 2 }

Public Member Functions

void execute (void)
std::string getDXF (SvgExtractionType type, float scale)
std::string getSVG (SvgExtractionType type, float scale)
 ProjectionAlgos (const TopoDS_Shape &Input, const Base::Vector3f &Dir)
 Constructor.
virtual ~ProjectionAlgos ()

Static Public Member Functions

static TopoDS_Shape invertY (const TopoDS_Shape &)

Public Attributes

const Base::Vector3fDirection
TopoDS_Shape H
TopoDS_Shape H1
TopoDS_Shape HI
TopoDS_Shape HN
TopoDS_Shape HO
const TopoDS_Shape & Input
TopoDS_Shape V
TopoDS_Shape V1
TopoDS_Shape VI
TopoDS_Shape VN
TopoDS_Shape VO

Detailed Description

Algo class for projecting shapes and creating SVG output of it.

Definition at line 38 of file ProjectionAlgos.h.


Member Enumeration Documentation

Enumerator:
Plain 
WithHidden 
WithSmooth 

Definition at line 48 of file ProjectionAlgos.h.


Constructor & Destructor Documentation

ProjectionAlgos::ProjectionAlgos ( const TopoDS_Shape &  Input,
const Base::Vector3f Dir 
)

Constructor.

Definition at line 93 of file ProjectionAlgos.cpp.

References execute().

ProjectionAlgos::~ProjectionAlgos (  )  [virtual]

Definition at line 99 of file ProjectionAlgos.cpp.


Member Function Documentation

void ProjectionAlgos::execute ( void   ) 
std::string ProjectionAlgos::getDXF ( SvgExtractionType  type,
float  scale 
)

Definition at line 252 of file ProjectionAlgos.cpp.

References Drawing::DXFOutput::exportEdges(), H, H1, HO, result, V, V1, VO, WithHidden, and WithSmooth.

std::string ProjectionAlgos::getSVG ( SvgExtractionType  type,
float  scale 
)
TopoDS_Shape ProjectionAlgos::invertY ( const TopoDS_Shape &  shape  )  [static]

Definition at line 103 of file ProjectionAlgos.cpp.

References KDL::Add().

Referenced by Drawing::FeatureViewPart::execute().


Member Data Documentation

Definition at line 59 of file ProjectionAlgos.h.

Referenced by execute().

Definition at line 66 of file ProjectionAlgos.h.

Referenced by execute(), Drawing::FeatureProjection::execute(), getDXF(), and getSVG().

Definition at line 67 of file ProjectionAlgos.h.

Referenced by execute(), Drawing::FeatureProjection::execute(), getDXF(), and getSVG().

Definition at line 70 of file ProjectionAlgos.h.

Referenced by execute(), and Drawing::FeatureProjection::execute().

Definition at line 68 of file ProjectionAlgos.h.

Referenced by execute(), and Drawing::FeatureProjection::execute().

Definition at line 69 of file ProjectionAlgos.h.

Referenced by execute(), Drawing::FeatureProjection::execute(), getDXF(), and getSVG().

const TopoDS_Shape& Drawing::ProjectionAlgos::Input

Definition at line 58 of file ProjectionAlgos.h.

Referenced by execute().

Definition at line 61 of file ProjectionAlgos.h.

Referenced by execute(), Drawing::FeatureProjection::execute(), getDXF(), and getSVG().

Definition at line 62 of file ProjectionAlgos.h.

Referenced by execute(), Drawing::FeatureProjection::execute(), getDXF(), and getSVG().

Definition at line 65 of file ProjectionAlgos.h.

Referenced by execute(), and Drawing::FeatureProjection::execute().

Definition at line 63 of file ProjectionAlgos.h.

Referenced by execute(), and Drawing::FeatureProjection::execute().

Definition at line 64 of file ProjectionAlgos.h.

Referenced by execute(), Drawing::FeatureProjection::execute(), getDXF(), and getSVG().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:01:56 2011 for FreeCAD by  doxygen 1.6.1