This is the Conical Surface Class. U parametrisation : [0.0 - 2PI] 0.0 is given by inUDirection or inXdir or inOriginDirection V parametrisation : [-infini - +infini] as revolved curve is a line. More...
Inheritance diagram for Dtk_ConicalSurface:Public Member Functions | |
| virtual Dtk_ErrorStatus | _ComputeAnyDerivative (Dtk_Double64 inUvalue, Dtk_Double64 inVvalue, int inUdiff, int inVdiff, Dtk_dir &outdir, int exttype) const |
| virtual Dtk_ErrorStatus | _ComputeMultipleDerivative (Dtk_Double64 inUvalue, Dtk_Double64 inVvalue, int inUmaxdiff, int inVmaxdiff, int inUVdiffsummax, Dtk_dir *outdirs, int exttype) const |
| Dtk_bool | _HasInternalNurbs () const |
| virtual Dtk_ErrorStatus | _Store (void *) |
| Dtk_ErrorStatus | ComputeBoundingBox (Dtk_pnt &outMin, Dtk_pnt &outMax) const |
| Set Surface Parametrisation : Umin = inDomain[0] Umax = inDomain[1] Vmin = inDomain[2] Vmax = inDomain[3]. More... | |
| virtual Dtk_ErrorStatus | ComputeNormal (const Dtk_Double64 &inUValue, const Dtk_Double64 &inVValue, Dtk_dir &outDir) const |
| Compute Normal on UV point. More... | |
| virtual Dtk_ErrorStatus | ComputeUVPoint (const Dtk_Double64 &inUValue, const Dtk_Double64 &inVValue, Dtk_pnt &outpnt) const |
| Compute 3D point. More... | |
| Dtk_ErrorStatus | ComputeUVto3DFirstDerivative (const Dtk_Double64 &inUValue, const Dtk_Double64 &inVValue, const Dtk_dir &inUVFirstDerivative, Dtk_dir &out3DFirstDerivative) const |
| Compute 3D first derivative on UV point according to UV derivative. More... | |
| Dtk_ErrorStatus | ComputeUVto3DSecondDerivative (const Dtk_Double64 &inUValue, const Dtk_Double64 &inVValue, const Dtk_dir &inUVFirstDerivative, const Dtk_dir &inUVSecondDerivative, Dtk_dir &out3DSecondDerivative) const |
| Compute 3D second derivative on UV point according to UV derivatives. More... | |
| void | DeleteCorrespondingNurbs () |
| int | DtkDynamicType (const int &inId) |
| virtual void | dump (FILE *file=stdout) |
| Dtk_InfoPtr | get_info () const |
| type_detk | get_type_detk () const |
| const Dtk_pnt & | GetAxisPosition () const |
| Get origin More... | |
| virtual Dtk_ErrorStatus | GetDomain (Dtk_Double64 outDomain[]) const |
| Get Surface Parametrisation : Umin = outDomain[0] Umax = outDomain[1] Vmin = outDomain[2] Vmax = outDomain[3]. More... | |
| const Dtk_ID & | GetID () const |
| Get Internal UniqueID. More... | |
| Dtk_Double64 | GetRadius () const |
| const Dtk_dir & | GetRevolutionAxis () const |
| GetRevolutionAxis. More... | |
| Dtk_CurvePtr | GetRevolvedCurve () const |
| GetRevolvedCurve. More... | |
| Dtk_Double64 | GetSemiAngle () const |
| virtual Dtk_Size_t | GetSize () const |
| Dtk_ErrorStatus | GetTrimUVBox (Dtk_Double64 outTrimValues[]) const |
| Get Surface Trim Box : Umin = outTrimValues[0] Umax = outTrimValues[1] Vmin = outTrimValues[2] Vmax = outTrimValues[3]. More... | |
| const Dtk_dir & | GetXDirection () const |
| Give U origin for parametrisation. More... | |
| Dtk_dir | GetYDirection () const |
| Give Y Direction (Axis Placement can be indirect ) More... | |
| const Dtk_dir & | GetZDirection () const |
| GetZDirection. More... | |
| Dtk_InfoPtr & | info () |
| Dtk_bool | IsTrimmed () const |
| Return DTK_TRUE if Surface Is trimmed by parameter value. More... | |
| virtual Dtk_bool | IsUPeriodic () const |
| Return DTK_TRUE If Periodic following U parameter. More... | |
| virtual Dtk_bool | IsVPeriodic () const |
| Return DTK_TRUE If Periodic following V parameter. More... | |
| Dtk_ErrorStatus | Normalize () |
| virtual void | PrepareTransfo () |
| Dtk_ErrorStatus | SetStartAngle (Dtk_Double64 inAngle) |
| Dtk_ErrorStatus | SetTrimUVBox (Dtk_Double64 inDomain[]) |
| Set Surface Trim Box : Umin = inTrimValues[0] Umax = inTrimValues[1] Vmin = inTrimValues[2] Vmax = inTrimValues[3]. More... | |
| virtual Dtk_NurbsSurfacePtr | ToNurbs (const Dtk_Double64 *inTrimDomain=NULL) const |
| Convert a surface into a Nurbs, keeping the parametrisation of the initial surface. More... | |
| Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Static Public Member Functions | |
| static Dtk_ConicalSurfacePtr | Create (const Dtk_ConicalSurface &in) |
| Calls copy constructor to allocate a new object. More... | |
| static Dtk_RevolutionSurfacePtr | Create (const Dtk_CurvePtr &inRevolvedCurve, const Dtk_pnt &inAxisposition, const Dtk_dir &inRevolutionAxis, const Dtk_dir &inUDirection, const Dtk_dir &inYDir=Dtk_dir()) |
| OBSOLETE Create Dtk_RevolutionSurface. More... | |
| static Dtk_ConicalSurfacePtr | Create (const Dtk_pnt &inOrigin, const Dtk_dir &inNormal, const Dtk_dir &inUDirection, const Dtk_Double64 &inFirstRadius, const Dtk_Double64 &inAngle, const Dtk_dir &inYDir=Dtk_dir()) |
| Create an infinite Cone. More... | |
| static Dtk_RevolutionSurfacePtr | Create (const Dtk_RevolutionSurface &in) |
| Calls copy constructor to allocate a new object. More... | |
| static Dtk_SurfacePtr | Create (const Dtk_Surface &in) |
| static Dtk_ConicalSurface * | DtkDynamicCast (Dtk_Object *s) |
Protected Types | |
| enum | { _typeID = DTK_TYPE_OBJECT } |
| enum | { _typeID = DTK_TYPE_ENTITY } |
| enum | { _typeID = DTK_TYPE_REVOLUTION_SURFACE } |
| enum | { _typeID = DTK_TYPE_CONICAL_SURFACE } |
| enum | { _typeID = DTK_TYPE_SURFACE } |
Protected Member Functions | |
| void | _copy (const Dtk_Entity &s) |
| void | _init () |
| void | _reset () |
| virtual Dtk_Object * | Clone () |
| Dtk_ConicalSurface () | |
| Dtk_ConicalSurface (const Dtk_ConicalSurface &s) | |
| Dtk_ConicalSurface (const Dtk_pnt &inOrigin, const Dtk_dir &inNormal, const Dtk_dir &inYDirection, const Dtk_dir &inUDirection, const Dtk_Double64 &inRadius, const Dtk_Double64 &inAngle) | |
| virtual | ~Dtk_ConicalSurface () |
Protected Attributes | |
| Dtk_Handle * | _Private |
| unsigned long | count_ |
This is the Conical Surface Class. U parametrisation : [0.0 - 2PI] 0.0 is given by inUDirection or inXdir or inOriginDirection V parametrisation : [-infini - +infini] as revolved curve is a line.
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
virtualinherited |
Reimplemented from Dtk_Surface.
Reimplemented in Dtk_SphericalSurface, Dtk_ToroidalSurface, and Dtk_CylindricalSurface.
|
virtualinherited |
Reimplemented from Dtk_Surface.
Reimplemented in Dtk_SphericalSurface, Dtk_ToroidalSurface, and Dtk_CylindricalSurface.
|
protectedinherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
virtual |
Reimplemented from Dtk_RevolutionSurface.
|
protectedvirtual |
Reimplemented from Dtk_RevolutionSurface.
|
inherited |
Set Surface Parametrisation : Umin = inDomain[0] Umax = inDomain[1] Vmin = inDomain[2] Vmax = inDomain[3].
Compute Bounding Box
|
virtual |
Compute Normal on UV point.
Reimplemented from Dtk_Surface.
|
virtual |
Compute 3D point.
Reimplemented from Dtk_RevolutionSurface.
|
inherited |
Compute 3D first derivative on UV point according to UV derivative.
|
inherited |
Compute 3D second derivative on UV point according to UV derivatives.
|
static |
Calls copy constructor to allocate a new object.
| in | Object to copy from. |
|
staticinherited |
OBSOLETE Create Dtk_RevolutionSurface.
| [in] | inRevolvedCurve | : Curve to be revolved |
| [in] | inAxisposition | : Revolution Axis Position |
| [in] | inRevolutionAxis | : Revolution Axis or Zdir |
| [in] | inUDirection | : UDirection (origin of Uparametrisation) or Xdir |
| [in] | inYDir | : Optional Ydir |
|
static |
Create an infinite Cone.
| [in] | inOrigin | : Cone origin |
| [in] | inNormal | : Cone Axis or Zdir |
| [in] | inUDirection | : UDirection ( origin of Uparametrisation) or Xdir |
| [in] | inFirstRadius | : Cone Radius at origin |
| [in] | inAngle | : semi_angle with Axis |
| [in] | inYDir | : Optional Ydir |
|
staticinherited |
Calls copy constructor to allocate a new object.
| in | Object to copy from. |
|
staticinherited |
|
inherited |
|
static |
|
virtual |
Reimplemented from Dtk_RevolutionSurface.
|
virtualinherited |
|
inherited |
|
virtual |
Reimplemented from Dtk_RevolutionSurface.
|
inherited |
Get origin
|
virtual |
Get Surface Parametrisation : Umin = outDomain[0] Umax = outDomain[1] Vmin = outDomain[2] Vmax = outDomain[3].
Reimplemented from Dtk_RevolutionSurface.
|
inherited |
Get Internal UniqueID.
| Dtk_Double64 Dtk_ConicalSurface::GetRadius | ( | ) | const |
|
inherited |
GetRevolutionAxis.
|
inherited |
GetRevolvedCurve.
| Dtk_Double64 Dtk_ConicalSurface::GetSemiAngle | ( | ) | const |
|
virtual |
Reimplemented from Dtk_RevolutionSurface.
|
inherited |
Get Surface Trim Box : Umin = outTrimValues[0] Umax = outTrimValues[1] Vmin = outTrimValues[2] Vmax = outTrimValues[3].
|
inherited |
Give U origin for parametrisation.
|
inherited |
Give Y Direction (Axis Placement can be indirect )
|
inherited |
GetZDirection.
|
inherited |
|
inherited |
Return DTK_TRUE if Surface Is trimmed by parameter value.
|
virtualinherited |
Return DTK_TRUE If Periodic following U parameter.
Reimplemented in Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_LinearExtrusionSurface, and Dtk_NurbsSurface.
|
virtualinherited |
Return DTK_TRUE If Periodic following V parameter.
Reimplemented in Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_LinearExtrusionSurface, and Dtk_NurbsSurface.
|
inherited |
|
virtualinherited |
Reimplemented in Dtk_OffsetSurface.
|
inherited |
|
virtualinherited |
Set Surface Trim Box : Umin = inTrimValues[0] Umax = inTrimValues[1] Vmin = inTrimValues[2] Vmax = inTrimValues[3].
Reimplemented from Dtk_Surface.
|
virtual |
Convert a surface into a Nurbs, keeping the parametrisation of the initial surface.
Reimplemented from Dtk_RevolutionSurface.
|
virtual |
Reimplemented from Dtk_RevolutionSurface.
|
protected |
|
protectedinherited |