Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | SceneObject --+ | Geometry --+ | Primitive --+ | ExplicitModel --+ | Mesh --+ | TriangleSet
A TriangleSet describes a surface formed by a set of connected triangles, i.e. three sided polygons. Triangles are specified using set of tuples of 3 indices (Index3) pointing to a list of points.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
Class Variables | |
__instance_size__ = 12
|
|
Inherited from |
Properties | |
colorIndexList | |
indexList | |
normalIndexList | |
texCoordIndexList | |
Inherited from Inherited from Inherited from Inherited from |
Method Details |
__init__( (object)arg1) -> None : TriangleSet() C++ signature : void __init__(struct _object *) __init__( (object)arg1, (Point3Array)points, (Index3Array)indices [, (bool)normalPerVertex [, (bool)ccw [, (bool)solid [, (Polyline)skeleton]]]]) -> None : TriangleSet(Point3Array points, Index3Array 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::Index3Array> [,bool [,bool [,bool [,class TOOLS::RefCountPtr<class PGL::Polyline>]]]]) __init__( (object)arg1, (Point3Array)points, (Index3Array)indices, (Point3Array)normals [, (Index3Array)nomalIndices [, (Color4Array)colors [, (Index3Array)colorIndices [, (Point2Array)texCoord [, (Index3Array)texCoordIndices [, (bool)normalPerVertex [, (bool)colorPerVertex [, (bool)ccw [, (bool)solid [, (Polyline)skeleton]]]]]]]]]]) -> None : TriangleSet(Point3Array points, Index3Array indices, Point3Array normal[, Index3Array nomalIndices, Color4Array colors, Index3Array colorIndices, Point2Array texCoord, Index3Array 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::Index3Array>,class TOOLS::RefCountPtr<class PGL::Point3Array> [,class TOOLS::RefCountPtr<class PGL::Index3Array> [,class TOOLS::RefCountPtr<class PGL::Color4Array> [,class TOOLS::RefCountPtr<class PGL::Index3Array> [,class TOOLS::RefCountPtr<class PGL::Point2Array> [,class TOOLS::RefCountPtr<class PGL::Index3Array> [,bool [,bool [,bool [,bool [,class TOOLS::RefCountPtr<class PGL::Polyline>]]]]]]]]]])
|
colorAt( (TriangleSet)arg1, (int)arg2 [, (int)arg3]) -> Color4 : C++ signature : class PGL::Color4 colorAt(class PGL::TriangleSet {lvalue},unsigned int [,unsigned int]) |
colorIndexAt( (TriangleSet)arg1, (int)arg2) -> Index3 : C++ signature : class TOOLS::Tuple3<unsigned int> colorIndexAt(class PGL::TriangleSet {lvalue},unsigned int) |
copy( (TriangleSet)arg1) -> SceneObject : C++ signature : class TOOLS::RefCountPtr<class PGL::SceneObject> copy(class PGL::TriangleSet {lvalue}) |
indexAt( (TriangleSet)arg1, (int)arg2) -> Index3 : C++ signature : class TOOLS::Tuple3<unsigned int> indexAt(class PGL::TriangleSet {lvalue},unsigned int) |
isColorIndexListToDefault( (TriangleSet)arg1) -> bool : C++ signature : bool isColorIndexListToDefault(class PGL::TriangleSet {lvalue}) |
isNormalIndexListToDefault( (TriangleSet)arg1) -> bool : C++ signature : bool isNormalIndexListToDefault(class PGL::TriangleSet {lvalue}) |
isTexCoordIndexListToDefault( (TriangleSet)arg1) -> bool : C++ signature : bool isTexCoordIndexListToDefault(class PGL::TriangleSet {lvalue}) |
normalAt( (TriangleSet)arg1, (int)arg2 [, (int)arg3]) -> Vector3 : C++ signature : class TOOLS::Vector3 normalAt(class PGL::TriangleSet {lvalue},unsigned int [,unsigned int]) |
normalIndexAt( (TriangleSet)arg1, (int)arg2) -> Index3 : C++ signature : class TOOLS::Tuple3<unsigned int> normalIndexAt(class PGL::TriangleSet {lvalue},unsigned int) |
texCoordAt( (TriangleSet)arg1, (int)arg2 [, (int)arg3]) -> Vector2 : C++ signature : class TOOLS::Vector2 texCoordAt(class PGL::TriangleSet {lvalue},unsigned int [,unsigned int]) |
texCoordIndexAt( (TriangleSet)arg1, (int)arg2) -> Index3 : C++ signature : class TOOLS::Tuple3<unsigned int> texCoordIndexAt(class PGL::TriangleSet {lvalue},unsigned int) |
Property Details |
colorIndexList
|
indexList
|
normalIndexList
|
texCoordIndexList
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 16 15:52:18 2008 | http://epydoc.sourceforge.net |