Package openalea :: Package plantgl :: Package scenegraph :: Module _pglsg :: Class BezierPatch
[frames] | no frames]

Class BezierPatch

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
              Primitive --+        
                          |        
            ParametricModel --+    
                              |    
                          Patch --+
                                  |
                                 BezierPatch
Known Subclasses:

BezierPatch describes rational and non rational Bezier surface.
It is defined by two degrees n and m and a matrix of control Points Pi,j
and using the parametric equation S(u,v) = Sum(i=0,n)Sum(j=0,m)(Bi,n(u)Bj,m(v)Pi,j) with u and v in [0,1]
where Bi,n(u) and Bi,m(v) are the classical n and m-th degree Bernstein polynomials.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Point4Matrix)arg2 [, (int)arg3 [, (int)arg4 [, (bool)arg5]]]) -> None : BezierPatch(Point4Matrix ctrlPoints [,ustride,vstride,ccw])
 
getPointAt(...)
getPointAt( (BezierPatch)arg1, (float)arg2, (float)arg3) -> Vector3 :
 
getUSection(...)
getUSection( (BezierPatch)arg1, (float)u) -> LineicModel : Compute a section line of the patch corresponding to a constant u value.
 
getVSection(...)
getVSection( (BezierPatch)arg1, (float)v) -> LineicModel : Compute a section line of the patch corresponding to a constant v value.
 
isUStrideToDefault(...)
isUStrideToDefault( (BezierPatch)arg1) -> bool :
 
isVStrideToDefault(...)
isVStrideToDefault( (BezierPatch)arg1) -> bool :

Inherited from Patch: isCCWToDefault

Inherited from Geometry: deepcopy, isACurve, isASurface, isAVolume, isExplicit

Inherited from SceneObject: __reduce__, apply, getId, getName, isNamed, isValid, setName

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  __instance_size__ = 12

Inherited from SceneObject: __safe_for_unpickling__

Properties
  DEFAULT_STRIDE
  ctrlPointMatrix
  ustride
  vstride

Inherited from Patch: ccw

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Point4Matrix)arg2 [, (int)arg3 [, (int)arg4 [, (bool)arg5]]]) -> None :
    BezierPatch(Point4Matrix ctrlPoints [,ustride,vstride,ccw])

    C++ signature :
        void __init__(struct _object *,class TOOLS::RefCountPtr<class PGL::Point4Matrix> [,unsigned int [,unsigned int [,bool]]])

Overrides: object.__init__

getPointAt(...)

 

getPointAt( (BezierPatch)arg1, (float)arg2, (float)arg3) -> Vector3 :

    C++ signature :
        class TOOLS::Vector3 getPointAt(class PGL::BezierPatch {lvalue},double,double)

getUSection(...)

 

getUSection( (BezierPatch)arg1, (float)u) -> LineicModel :
    Compute a section line of the patch corresponding to a constant u value.

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::LineicModel> getUSection(class PGL::BezierPatch {lvalue},double)

getVSection(...)

 

getVSection( (BezierPatch)arg1, (float)v) -> LineicModel :
    Compute a section line of the patch corresponding to a constant v value.

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::LineicModel> getVSection(class PGL::BezierPatch {lvalue},double)

isUStrideToDefault(...)

 

isUStrideToDefault( (BezierPatch)arg1) -> bool :

    C++ signature :
        bool isUStrideToDefault(class PGL::BezierPatch {lvalue})

isVStrideToDefault(...)

 

isVStrideToDefault( (BezierPatch)arg1) -> bool :

    C++ signature :
        bool isVStrideToDefault(class PGL::BezierPatch {lvalue})


Property Details

DEFAULT_STRIDE

Get Method:
unreachable(...)

ctrlPointMatrix

Get Method:
unreachable(...)
Set Method:
unreachable(...)

ustride

Get Method:
unreachable(...)
Set Method:
unreachable(...)

vstride

Get Method:
unreachable(...)
Set Method:
unreachable(...)