~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Raytracing/App/RayFeature.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef _RayFeature_h_
27
27
#define _RayFeature_h_
28
28
 
29
 
//#include <Base/Factory.h>
30
 
//#include <Base/PyExport.h>
31
 
 
32
29
#include <App/Feature.h>
33
30
#include <App/PropertyLinks.h>
34
31
#include <App/PropertyFile.h>
35
32
 
 
33
#include "RaySegment.h"
 
34
 
 
35
 
36
36
class PyObjectBase;
37
37
class FeaturePy;
38
38
 
44
44
/** Base class of all Feature classes in FreeCAD
45
45
 */
46
46
//class RayFeature: public Part::PartFeature
47
 
class RayFeature: public App::AbstractFeature
 
47
class AppRaytracingExport RayFeature: public Raytracing::RaySegment
48
48
{
49
49
    PROPERTY_HEADER(Raytracing::RayFeature);
50
50
public:
51
51
        /// Constructor
52
52
        RayFeature(void);
53
53
 
54
 
        /// Property for the result file
55
 
        App::PropertyFileIncluded ShapeFile;
56
54
        App::PropertyLink         Source;
57
55
 
58
56
 
60
58
    //@{
61
59
    /// recalculate the Feature
62
60
    App::DocumentObjectExecReturn *execute(void);
63
 
    short mustExecute() const;
64
 
    /// returns the type name of the ViewProvider
65
 
    const char* getViewProviderName(void) const { 
66
 
        return "RaytracingGui::ViewProviderRayFeature"; 
67
 
    }
 
61
 
 
62
        /// returns the type name of the ViewProvider
 
63
    //const char* getViewProviderName(void) const { 
 
64
    //    return "RaytracingGui::ViewProviderRayFeature"; 
 
65
    //}
68
66
  //@}
69
67
 
70
68
};