OpenLexocad  28.0
PropertyGeo.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
3  * *
4  * This file is part of the FreeCAD CAx development system. *
5  * *
6  * This library is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU Library General Public *
8  * License as published by the Free Software Foundation; either *
9  * version 2 of the License, or (at your option) any later version. *
10  * *
11  * This library is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU Library General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU Library General Public *
17  * License along with this library; see the file COPYING.LIB. If not, *
18  * write to the Free Software Foundation, Inc., 59 Temple Place, *
19  * Suite 330, Boston, MA 02111-1307, USA *
20  * *
21  ***************************************************************************/
22 
23 #pragma once
24 
25 #include <Base/BoundBox.h>
26 #include <Core/Property.h>
27 
28 namespace Data {
29 class ComplexGeoData;
30 }
31 
32 namespace Core
33 {
34 
35 
39 class LX_CORE_EXPORT PropertyFcGeometry : public Property
40 {
42 
43 public:
46  virtual void transformGeometry(const Base::Matrix4D &rclMat) = 0;
49  virtual Base::BoundBox3d getBoundingBox() const = 0;
51 };
52 
56 class LX_CORE_EXPORT PropertyFcComplexGeoData : public PropertyFcGeometry
57 {
59 
60 public:
63  virtual void transformGeometry(const Base::Matrix4D &rclMat) = 0;
66 
69  virtual const Data::ComplexGeoData* getComplexData() const = 0;
70  virtual Base::BoundBox3d getBoundingBox() const = 0;
72 };
73 
74 } // namespace Core
75 
76 
Property.h
Data
Definition: ComplexGeoData.h:35
Base::BoundBox3
Definition: BoundBox.h:56
Core
Definition: Base.h:5
Core::PropertyFcComplexGeoData::getComplexData
virtual const Data::ComplexGeoData * getComplexData() const =0
Core::PropertyFcComplexGeoData
Definition: PropertyGeo.h:57
BoundBox.h
Data::ComplexGeoData
Definition: ComplexGeoData.h:54
Core::Property
Definition: Property.h:72
Base::Matrix4D
Definition: Matrix.h:55
Core::PropertyFcGeometry
Definition: PropertyGeo.h:40
TYPESYSTEM_HEADER
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
Core::PropertyFcGeometry::getBoundingBox
virtual Base::BoundBox3d getBoundingBox() const =0
Retrieve bounding box information.
Core::PropertyFcComplexGeoData::getBoundingBox
virtual Base::BoundBox3d getBoundingBox() const =0
Retrieve bounding box information.