CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
FxSolidShape.h
Go to the documentation of this file.
1#pragma once
2
3#include "RxObject.h"
4#include "RxModule.h"
5
7{
8public:
10 virtual OdGePoint3d position() const = 0;
11 virtual OdResult setPosition( OdGePoint3d& pt ) = 0;
12 virtual bool update() = 0;
13 virtual OdGeMatrix3d transform() const = 0;
14};
16
18{
19public:
21 virtual double getLength( ) const = 0;
22 virtual OdResult setLength( double len ) = 0;
23 virtual double getWidth( ) const = 0;
24 virtual OdResult setWidth( double width ) = 0;
25 virtual double getHeight( ) const = 0;
26 virtual OdResult setHeight( double height ) = 0;
27};
29
31{
32public:
34 virtual double height() const = 0;
35 virtual double radius() const = 0;
36 virtual double majorRadius() const = 0;
37 virtual double minorRadius() const = 0;
38 virtual OdResult setHeight(double dHeight) = 0;
39 virtual OdResult setRadius(double dRadius) = 0;
40 virtual OdResult setMajorRadius(double dMajorRadius) = 0;
41 virtual OdResult setMinorRadius(double dMinorRadius) = 0;
42 virtual bool isCylindrical() const = 0;
43 virtual bool isElliptical() const = 0;
44
45};
47
49{
50public:
52 virtual double height() const = 0;
53 virtual double radius() const = 0;
54 virtual int sides() const = 0;
55 virtual double topRadius() const = 0;
56 virtual OdResult setSides(int iSides) = 0;
57 virtual OdResult setHeight(double dHeight) = 0;
58 virtual OdResult setTopRadius(double dTopRadius) = 0;
59 virtual OdResult setRadius(double dRadius) = 0;
60};
62
64{
65public:
67 virtual double radius() const = 0;
68 virtual OdResult setRadius(double dRadius) = 0;
69};
71
73{
74public:
76 virtual double majorRadius() const = 0;
77 virtual double minorRadius() const = 0;
78 virtual OdResult setMajorRadius(double dMajorRadius) = 0;
79 virtual OdResult setMinorRadius(double dMinorRadius) = 0;
80};
82
84{
85public:
87 virtual double getLength( ) const = 0;
88 virtual OdResult setLength( double len ) = 0;
89 virtual double getWidth( ) const = 0;
90 virtual OdResult setWidth( double width ) = 0;
91 virtual double getHeight( ) const = 0;
92 virtual OdResult setHeight( double height ) = 0;
93};
95
97{
98public:
100 virtual double height() const = 0;
101 virtual OdResult setHeight(double dHeight) = 0;
102 virtual double baseMinorRadius() const = 0;
103 virtual OdResult setBaseMinorRadius(double dMinorRadius) = 0;
104 virtual double baseMajorRadius() const = 0;
105 virtual OdResult setBaseMajorRadius(double dMajorRadius, bool bElliptical = false) = 0;
106 virtual double topRadius() const = 0;
107 virtual OdResult setTopRadius(double dTopMajorRad, bool bElliptical = false) = 0;
108};
110
112{
113public:
115 virtual double height() = 0;
116 virtual OdResult setHeight( double dHeight ) = 0;
117 virtual double taperAngle() = 0;
118 virtual OdResult setTaperAngle( double dTaperAngle ) = 0;
119 virtual OdGeVector3d direction() = 0;
121 virtual OdResult getSweepOptions(OdDbSweepOptions& sweepOptions) = 0;
122};
124
126{
127public:
129 virtual double revolveAngle() = 0;
130 virtual OdResult setRevolveAngle( double angle ) = 0;
131 virtual OdGePoint3d axisPoint() = 0;
132 virtual OdResult setAxisPoint( OdGePoint3d& axisPt ) = 0;
133 virtual OdGeVector3d direction() = 0;
134 virtual OdResult setDirection( OdGeVector3d& direction ) = 0;
135 virtual double startAngle() = 0;
136 virtual void setStartAngle( double angle ) = 0;
138 virtual void setSweepEntity( OdDbEntityPtr pEntity ) = 0;
139 virtual OdResult getRevolveOptions ( OdDbRevolveOptions& revOptions ) = 0;
140};
142
144{
145public:
147 virtual double profileRotation() = 0;
148 virtual OdResult setProfileRotation( double angle ) = 0;
149 virtual double twist() = 0;
150 virtual OdResult setTwist( double dTwist ) = 0;
151 virtual double scale() = 0;
152 virtual OdResult setScale( double dScale ) = 0;
153 virtual double length() = 0;
154
157 virtual OdResult setPathEntity(OdDbEntity* pPathEnt) = 0;
158 virtual OdResult setSweepEntity(OdDbEntity* pSweepEnt) = 0;
159
160 virtual OdGeVector3d direction() = 0;
161 virtual OdResult setDirection(OdGeVector3d const & v) = 0;
162 virtual OdResult getSweepOptions(OdDbSweepOptions& sweepOptions) = 0;
163};
165
167{
168public:
170 virtual int crossSectionsCount() = 0;
171 virtual int surfaceNormalsType() = 0;
172 virtual OdResult setSurfaceNormalsType( int iType, bool bRule = false ) = 0;
173 virtual double startDraftAngle() = 0;
174 virtual OdResult setStartDraftAngle( double startDraftAngle ) = 0;
175 virtual double endDraftAngle() = 0;
176 virtual OdResult setEndDraftAngle( double endDraftAngle ) = 0;
177 virtual double startMagnitude() = 0;
178 virtual OdResult setStartMagnitude( double startMagnitude ) = 0;
179 virtual double endMagnitude() = 0;
180 virtual OdResult setEndMagnitude( double endMagnitude ) = 0;
181 virtual bool isClosed() = 0;
182 virtual OdResult setClosed( bool closed ) = 0;
183 virtual OdDbEntityPtr getCrossSection(int iNum) = 0;
184 virtual int numGuideCurves() = 0;
185 virtual int numCrossSections() = 0;
186 virtual OdDbEntityPtr getGuideCurve(int iNum) = 0;
187 virtual OdResult loftOptions( OdDbLoftOptions& loftOptions) = 0;
188 virtual OdDbEntityPtr getPath() = 0;
189};
191
193{
194public:
196 virtual CFx3dSolidShapePtr getShape( const OdDb3dSolidPtr pSolid, bool* bCompositSolid = NULL ) = 0;
197};
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< CFxTorus > CFxTorusPtr
Definition: FxSolidShape.h:81
OdSmartPtr< CFxSphere > CFxSpherePtr
Definition: FxSolidShape.h:70
OdSmartPtr< CFxBox > CFxBoxPtr
Definition: FxSolidShape.h:28
OdSmartPtr< CFxCylinder > CFxCylinderPtr
Definition: FxSolidShape.h:46
OdSmartPtr< CFx3dSolidShapePE > CFx3dSolidShapePEPtr
Definition: FxSolidShape.h:198
OdSmartPtr< CFxPyramid > CFxPyramidPtr
Definition: FxSolidShape.h:61
OdSmartPtr< CFxExtrusion > CFxExtrusionPtr
Definition: FxSolidShape.h:123
OdSmartPtr< CFxRevolve > CFxRevolvePtr
Definition: FxSolidShape.h:141
OdSmartPtr< CFxWedge > CFxWedgePtr
Definition: FxSolidShape.h:94
OdSmartPtr< CFxLoft > CFxLoftPtr
Definition: FxSolidShape.h:190
OdSmartPtr< CFxSweep > CFxSweepPtr
Definition: FxSolidShape.h:164
OdSmartPtr< CFxCone > CFxConePtr
Definition: FxSolidShape.h:109
OdSmartPtr< CFx3dSolidShape > CFx3dSolidShapePtr
Definition: FxSolidShape.h:15
OdResult
Definition: OdResult.h:29
virtual OdGePoint3d position() const =0
virtual bool update()=0
virtual OdResult setPosition(OdGePoint3d &pt)=0
ODRX_DECLARE_MEMBERS(CFx3dSolidShape)
virtual OdGeMatrix3d transform() const =0
ODRX_DECLARE_MEMBERS(CFx3dSolidShapePE)
virtual CFx3dSolidShapePtr getShape(const OdDb3dSolidPtr pSolid, bool *bCompositSolid=NULL)=0
virtual double getWidth() const =0
virtual OdResult setHeight(double height)=0
virtual OdResult setLength(double len)=0
virtual double getHeight() const =0
virtual double getLength() const =0
ODRX_DECLARE_MEMBERS(CFxBox)
virtual OdResult setWidth(double width)=0
virtual OdResult setTopRadius(double dTopMajorRad, bool bElliptical=false)=0
virtual OdResult setBaseMajorRadius(double dMajorRadius, bool bElliptical=false)=0
ODRX_DECLARE_MEMBERS(CFxCone)
virtual double topRadius() const =0
virtual double baseMajorRadius() const =0
virtual double height() const =0
virtual OdResult setHeight(double dHeight)=0
virtual double baseMinorRadius() const =0
virtual OdResult setBaseMinorRadius(double dMinorRadius)=0
ODRX_DECLARE_MEMBERS(CFxCylinder)
virtual bool isCylindrical() const =0
virtual double height() const =0
virtual bool isElliptical() const =0
virtual double minorRadius() const =0
virtual OdResult setMajorRadius(double dMajorRadius)=0
virtual OdResult setMinorRadius(double dMinorRadius)=0
virtual double radius() const =0
virtual OdResult setHeight(double dHeight)=0
virtual OdResult setRadius(double dRadius)=0
virtual double majorRadius() const =0
virtual double taperAngle()=0
virtual double height()=0
virtual OdDbEntityPtr sweepEntity()=0
virtual OdResult setHeight(double dHeight)=0
virtual OdResult getSweepOptions(OdDbSweepOptions &sweepOptions)=0
virtual OdGeVector3d direction()=0
ODRX_DECLARE_MEMBERS(CFxExtrusion)
virtual OdResult setTaperAngle(double dTaperAngle)=0
virtual bool isClosed()=0
virtual OdDbEntityPtr getPath()=0
virtual double endDraftAngle()=0
virtual OdDbEntityPtr getGuideCurve(int iNum)=0
virtual OdResult loftOptions(OdDbLoftOptions &loftOptions)=0
virtual double startMagnitude()=0
virtual double endMagnitude()=0
ODRX_DECLARE_MEMBERS(CFxLoft)
virtual OdResult setSurfaceNormalsType(int iType, bool bRule=false)=0
virtual int surfaceNormalsType()=0
virtual OdResult setStartMagnitude(double startMagnitude)=0
virtual OdResult setEndDraftAngle(double endDraftAngle)=0
virtual double startDraftAngle()=0
virtual OdResult setStartDraftAngle(double startDraftAngle)=0
virtual OdResult setEndMagnitude(double endMagnitude)=0
virtual int numCrossSections()=0
virtual int numGuideCurves()=0
virtual OdResult setClosed(bool closed)=0
virtual OdDbEntityPtr getCrossSection(int iNum)=0
virtual int crossSectionsCount()=0
virtual double topRadius() const =0
virtual double radius() const =0
virtual OdResult setHeight(double dHeight)=0
virtual double height() const =0
virtual int sides() const =0
virtual OdResult setTopRadius(double dTopRadius)=0
virtual OdResult setRadius(double dRadius)=0
virtual OdResult setSides(int iSides)=0
ODRX_DECLARE_MEMBERS(CFxPyramid)
virtual OdDbEntityPtr sweepEntity()=0
virtual OdGePoint3d axisPoint()=0
virtual void setSweepEntity(OdDbEntityPtr pEntity)=0
ODRX_DECLARE_MEMBERS(CFxRevolve)
virtual void setStartAngle(double angle)=0
virtual OdGeVector3d direction()=0
virtual double revolveAngle()=0
virtual double startAngle()=0
virtual OdResult setRevolveAngle(double angle)=0
virtual OdResult setDirection(OdGeVector3d &direction)=0
virtual OdResult getRevolveOptions(OdDbRevolveOptions &revOptions)=0
virtual OdResult setAxisPoint(OdGePoint3d &axisPt)=0
virtual OdResult setRadius(double dRadius)=0
virtual double radius() const =0
ODRX_DECLARE_MEMBERS(CFxSphere)
virtual OdResult setPathEntity(OdDbEntity *pPathEnt)=0
virtual OdResult getSweepOptions(OdDbSweepOptions &sweepOptions)=0
virtual OdResult setTwist(double dTwist)=0
virtual OdDbEntityPtr sweepEntity()=0
virtual double length()=0
virtual OdResult setDirection(OdGeVector3d const &v)=0
virtual double profileRotation()=0
virtual OdResult setSweepEntity(OdDbEntity *pSweepEnt)=0
virtual double twist()=0
ODRX_DECLARE_MEMBERS(CFxSweep)
virtual double scale()=0
virtual OdResult setProfileRotation(double angle)=0
virtual OdGeVector3d direction()=0
virtual OdResult setScale(double dScale)=0
virtual OdDbEntityPtr pathEntity()=0
ODRX_DECLARE_MEMBERS(CFxTorus)
virtual double majorRadius() const =0
virtual OdResult setMajorRadius(double dMajorRadius)=0
virtual OdResult setMinorRadius(double dMinorRadius)=0
virtual double minorRadius() const =0
virtual double getLength() const =0
virtual OdResult setWidth(double width)=0
virtual double getHeight() const =0
virtual OdResult setLength(double len)=0
ODRX_DECLARE_MEMBERS(CFxWedge)
virtual OdResult setHeight(double height)=0
virtual double getWidth() const =0
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
const GLfloat * v
Definition: gles2_ext.h:315
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110