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

Class FaceSet

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
              Primitive --+        
                          |        
              ExplicitModel --+    
                              |    
                           Mesh --+
                                  |
                                 FaceSet
Known Subclasses:

A FaceSet describes a surface formed by a set of connected faces.
Faces are specified using set of tuples of n indices (Index) pointing to a list of points.

Instance Methods
 
__init__(...)
__init__( (object)arg1) -> None : FaceSet()
 
colorAt(...)
colorAt( (FaceSet)arg1, (int)arg2 [, (int)arg3]) -> Color4 :
 
colorIndexAt(...)
colorIndexAt( (FaceSet)arg1, (int)arg2) -> Index :
 
copy(...)
copy( (FaceSet)arg1) -> SceneObject :
 
indexAt(...)
indexAt( (FaceSet)arg1, (int)arg2) -> Index :
 
isColorIndexListToDefault(...)
isColorIndexListToDefault( (FaceSet)arg1) -> bool :
 
isNormalIndexListToDefault(...)
isNormalIndexListToDefault( (FaceSet)arg1) -> bool :
 
isTexCoordIndexListToDefault(...)
isTexCoordIndexListToDefault( (FaceSet)arg1) -> bool :
 
normalAt(...)
normalAt( (FaceSet)arg1, (int)arg2 [, (int)arg3]) -> Vector3 :
 
normalIndexAt(...)
normalIndexAt( (FaceSet)arg1, (int)arg2) -> Index :
 
texCoordAt(...)
texCoordAt( (FaceSet)arg1, (int)arg2 [, (int)arg3]) -> Vector2 :
 
texCoordIndexAt(...)
texCoordIndexAt( (FaceSet)arg1, (int)arg2) -> Index :

Inherited from Mesh: computeNormalList, faceCenter, faceSize, indexListSize, isCCWToDefault, isColorPerVertexToDefault, isNormalListToDefault, isNormalPerVertexToDefault, isSkeletonToDefault, isSolidToDefault, isTexCoordListToDefault, pointAt

Inherited from ExplicitModel: isColorListToDefault, transform

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
  colorIndexList
  indexList
  normalIndexList
  texCoordIndexList

Inherited from Mesh: DEFAULT_CCW, DEFAULT_COLORPERVERTEX, DEFAULT_NORMALPERVERTEX, DEFAULT_SKELETON, DEFAULT_SOLID, ccw, colorPerVertex, normalList, normalPerVertex, skeleton, solid, texCoordList

Inherited from ExplicitModel: colorList, pointList

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :
    FaceSet()

    C++ signature :
        void __init__(struct _object *)

__init__( (object)arg1, (Point3Array)points, (IndexArray)indices [, (bool)normalPerVertex [, (bool)ccw [, (bool)solid [, (Polyline)skeleton]]]]) -> None :
    FaceSet(Point3Array points, IndexArray indices [,bool normalPerVertex, bool ccw, bool solid, Polyline skeleton])

    C++ signature :
        void __init__(struct _object *,class TOOLS::RefCountPtr<class PGL::Point3Array>,class TOOLS::RefCountPtr<class PGL::IndexArray> [,bool [,bool [,bool [,class TOOLS::RefCountPtr<class PGL::Polyline>]]]])

__init__( (object)arg1, (Point3Array)points, (IndexArray)indices, (Point3Array)normals [, (IndexArray)nomalIndices [, (Color4Array)colors [, (IndexArray)colorIndices [, (Point2Array)texCoord [, (IndexArray)texCoordIndices [, (bool)normalPerVertex [, (bool)colorPerVertex [, (bool)ccw [, (bool)solid [, (Polyline)skeleton]]]]]]]]]]) -> None :
    FaceSet (Point3Array points, IndexArray indices, Point3Array normal[, IndexArray nomalIndices, Color4Array colors, IndexArray colorIndices, Point2Array texCoord, IndexArray texCoordIndices, bool normalPerVertex, bool colorPerVertex, bool ccw, bool solid, Polyline skeleton])

    C++ signature :
        void __init__(struct _object *,class TOOLS::RefCountPtr<class PGL::Point3Array>,class TOOLS::RefCountPtr<class PGL::IndexArray>,class TOOLS::RefCountPtr<class PGL::Point3Array> [,class TOOLS::RefCountPtr<class PGL::IndexArray> [,class TOOLS::RefCountPtr<class PGL::Color4Array> [,class TOOLS::RefCountPtr<class PGL::IndexArray> [,class TOOLS::RefCountPtr<class PGL::Point2Array> [,class TOOLS::RefCountPtr<class PGL::IndexArray> [,bool [,bool [,bool [,bool [,class TOOLS::RefCountPtr<class PGL::Polyline>]]]]]]]]]])

Overrides: object.__init__

colorAt(...)

 

colorAt( (FaceSet)arg1, (int)arg2 [, (int)arg3]) -> Color4 :

    C++ signature :
        class PGL::Color4 colorAt(class PGL::FaceSet {lvalue},unsigned int [,unsigned int])

colorIndexAt(...)

 

colorIndexAt( (FaceSet)arg1, (int)arg2) -> Index :

    C++ signature :
        class TOOLS::Array1<unsigned int> colorIndexAt(class PGL::FaceSet {lvalue},unsigned int)

copy(...)

 

copy( (FaceSet)arg1) -> SceneObject :

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::SceneObject> copy(class PGL::FaceSet {lvalue})

indexAt(...)

 

indexAt( (FaceSet)arg1, (int)arg2) -> Index :

    C++ signature :
        class TOOLS::Array1<unsigned int> indexAt(class PGL::FaceSet {lvalue},unsigned int)

isColorIndexListToDefault(...)

 

isColorIndexListToDefault( (FaceSet)arg1) -> bool :

    C++ signature :
        bool isColorIndexListToDefault(class PGL::FaceSet {lvalue})

isNormalIndexListToDefault(...)

 

isNormalIndexListToDefault( (FaceSet)arg1) -> bool :

    C++ signature :
        bool isNormalIndexListToDefault(class PGL::FaceSet {lvalue})

isTexCoordIndexListToDefault(...)

 

isTexCoordIndexListToDefault( (FaceSet)arg1) -> bool :

    C++ signature :
        bool isTexCoordIndexListToDefault(class PGL::FaceSet {lvalue})

normalAt(...)

 

normalAt( (FaceSet)arg1, (int)arg2 [, (int)arg3]) -> Vector3 :

    C++ signature :
        class TOOLS::Vector3 normalAt(class PGL::FaceSet {lvalue},unsigned int [,unsigned int])

normalIndexAt(...)

 

normalIndexAt( (FaceSet)arg1, (int)arg2) -> Index :

    C++ signature :
        class TOOLS::Array1<unsigned int> normalIndexAt(class PGL::FaceSet {lvalue},unsigned int)

texCoordAt(...)

 

texCoordAt( (FaceSet)arg1, (int)arg2 [, (int)arg3]) -> Vector2 :

    C++ signature :
        class TOOLS::Vector2 texCoordAt(class PGL::FaceSet {lvalue},unsigned int [,unsigned int])

texCoordIndexAt(...)

 

texCoordIndexAt( (FaceSet)arg1, (int)arg2) -> Index :

    C++ signature :
        class TOOLS::Array1<unsigned int> texCoordIndexAt(class PGL::FaceSet {lvalue},unsigned int)


Property Details

colorIndexList

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

indexList

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

normalIndexList

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

texCoordIndexList

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