This is the Spherical Surface Class. U parametrisation : [0.0 - 2PI] 0.0 is given by inUDirection or inXdir or inOriginDirection V parametrisation : [-Pi/2 - +Pi/2] as revolved curve is a trimmed circle. More...
Public Member Functions | |
Dtk_ErrorStatus | _ComputeAnyDerivative (Dtk_Double64 inUvalue, Dtk_Double64 inVvalue, int inUdiff, int inVdiff, Dtk_dir &outdir, int exttype) const |
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... | |
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_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_SphericalSurfacePtr | Create (const Dtk_pnt &inOrigin, const Dtk_dir &inNormal, const Dtk_dir &inUDirection, const Dtk_Double64 &inRadius, const Dtk_dir &inYDir=Dtk_dir()) |
Create Dtk_SphericalSurface. More... | |
static Dtk_RevolutionSurfacePtr | Create (const Dtk_RevolutionSurface &inSurfToCopy) |
static Dtk_SphericalSurfacePtr | Create (const Dtk_SphericalSurface &inSurfToCopy) |
static Dtk_SurfacePtr | Create (const Dtk_Surface &s) |
Create Surface by copy. More... | |
static Dtk_SphericalSurface * | 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_SPHERICAL_SURFACE } |
enum | { _typeID = DTK_TYPE_SURFACE } |
Protected Member Functions | |
void | _copy (const Dtk_Entity &s) |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _reset () |
virtual Dtk_Object * | Clone () |
Dtk_SphericalSurface () | |
Dtk_SphericalSurface (const Dtk_pnt &inOrigin, const Dtk_dir &inNormal, const Dtk_dir &inYDir, const Dtk_dir &inUDirection, const Dtk_Double64 &inRadius) | |
Dtk_SphericalSurface (const Dtk_SphericalSurface &s) | |
virtual | ~Dtk_SphericalSurface () |
Protected Attributes | |
Dtk_Handle * | _Private |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_SphericalSurface > |
This is the Spherical Surface Class. U parametrisation : [0.0 - 2PI] 0.0 is given by inUDirection or inXdir or inOriginDirection V parametrisation : [-Pi/2 - +Pi/2] as revolved curve is a trimmed circle.
It is part of the Dtk_SphericalSurface entity
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
virtual |
Reimplemented from Dtk_RevolutionSurface.
|
virtual |
Reimplemented from Dtk_RevolutionSurface.
|
protectedinherited |
|
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.
|
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 Dtk_SphericalSurface.
[in] | inOrigin | : Spherical origin |
[in] | inNormal | : Spherical Axis or Zdir |
[in] | inUDirection | : UDirection ( origin of Uparametrisation) or Xdir |
[in] | inRadius | : Spherical Radius |
[in] | inYDir | : Optional Ydir |
|
staticinherited |
|
static |
|
staticinherited |
Create Surface by copy.
|
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_SphericalSurface::GetRadius | ( | ) | const |
|
inherited |
GetRevolutionAxis.
|
inherited |
GetRevolvedCurve.
|
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.
|
virtual |
Return DTK_TRUE If Periodic following U parameter.
Reimplemented from Dtk_Surface.
|
virtual |
Return DTK_TRUE If Periodic following V parameter.
Reimplemented from Dtk_Surface.
|
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.
|
friend |
|
protected |
|
protectedinherited |