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

Class ElevationGrid

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
              Primitive --+        
                          |        
            ParametricModel --+    
                              |    
                          Patch --+
                                  |
                                 ElevationGrid

A regular grid of elevations.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (RealArray2)heightList [, (float)xspacing [, (float)yspacing [, (bool)ccw]]]) -> None : ElevationGrid(heightList [,xspacing,yspacing,ccw])
 
copy(...)
copy( (ElevationGrid)arg1) -> SceneObject :
 
getHeightAt(...)
getHeightAt( (ElevationGrid)arg1, (int)arg2, (int)arg3) -> float :
 
getPointAt(...)
getPointAt( (ElevationGrid)arg1, (int)arg2, (int)arg3) -> Vector3 :
 
isXSpacingToDefault(...)
isXSpacingToDefault( (ElevationGrid)arg1) -> bool :
 
isYSpacingToDefault(...)
isYSpacingToDefault( (ElevationGrid)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_X_SPACING
  DEFAULT_Y_SPACING
  heightList
  xspacing
  yspacing

Inherited from Patch: ccw

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (RealArray2)heightList [, (float)xspacing [, (float)yspacing [, (bool)ccw]]]) -> None :
    ElevationGrid(heightList [,xspacing,yspacing,ccw])

    C++ signature :
        void __init__(struct _object *,class TOOLS::RefCountPtr<class TOOLS::RealArray2> [,double [,double [,bool]]])

Overrides: object.__init__

copy(...)

 

copy( (ElevationGrid)arg1) -> SceneObject :

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

getHeightAt(...)

 

getHeightAt( (ElevationGrid)arg1, (int)arg2, (int)arg3) -> float :

    C++ signature :
        double getHeightAt(class PGL::ElevationGrid *,unsigned int,unsigned int)

getPointAt(...)

 

getPointAt( (ElevationGrid)arg1, (int)arg2, (int)arg3) -> Vector3 :

    C++ signature :
        class TOOLS::Vector3 getPointAt(class PGL::ElevationGrid {lvalue},unsigned int,unsigned int)

isXSpacingToDefault(...)

 

isXSpacingToDefault( (ElevationGrid)arg1) -> bool :

    C++ signature :
        bool isXSpacingToDefault(class PGL::ElevationGrid {lvalue})

isYSpacingToDefault(...)

 

isYSpacingToDefault( (ElevationGrid)arg1) -> bool :

    C++ signature :
        bool isYSpacingToDefault(class PGL::ElevationGrid {lvalue})


Property Details

DEFAULT_X_SPACING

Get Method:
unreachable(...)

DEFAULT_Y_SPACING

Get Method:
unreachable(...)

heightList

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

xspacing

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

yspacing

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