Package DejaVu :: Package VisionInterface :: Module DejaVuNodes
[hide private]
[frames] | no frames]

Module DejaVuNodes

source code

Classes [hide private]
  GeomOptions
  RestoreState
Set a Viewer's state from a file Input Ports: Viewer: (required) the Viewer for which to restore the state filename: (required) the file containing the state mode: (optional) can be 'Viewer', 'objects' or 'both' defaults to 'both'.
  CenterOnPickedVertex
Set the rotation center of for the scene to the picked vertex...
  CenterOnVertex
Set the rotation center of for the scene to a vertex...
  Viewer
Create an instance of a DejaVu Viewer object.
  AccumPickedVertices
Class to accumulate picked vertices...
  PolyhedronVolumeArea
compute the numerical volume and surface area of a polyhedron Input Ports: geometry: (required) Accepts any IndexedPolygon geometry from DejaVu Output Ports: volume: float area: float compactness: area/volume (float) .
  writeIndexedPolygon
write the vertices, normals and faces of an IndexedPolygon to a file.
  writeCurvPly
write the vertices and triangles of an IndexedPolygon to a file in the format used by the setCurvature program (which ressembles ply2) Input Ports: geometry: (required) Accepts any IndexedPolgon geometry from DejaVu filename: (required) string, no extension.
  Curvature
run the setCurvature program...
  readIndexedPolygon
************* DEPRECATED, USE GeomsFromFile instead ************** read the vertices, normals and faces of an IndexedPolygon from a file.
  RemoveDuplicatedVerticesNE
Remove duplicated vertices and re-index the polygonal faces such that...
  removeDuplicatedVerticesC
Remove duplicated vertices and re-index the polygonal faces such that...
  QslimExt
Invoked the Qslim algorithm as an external process to decimate a surface.
  GeomtoSMF
create the source of an SMF file from an DejaVu.IndexedPolygons geometry Input Ports: geometry: Any DejaVu.IndexedPolgons geometry.
  SMFtoGeom
converts a list of strings describing an SMF file into a DejaVu.IndexedPolygons Input Ports: lines: list of lines geomname: name for the geoemtry parent: parent geometry Output Ports: geometry: DejaVu.IndexedPolgons geometry .
  QSlim
Uses QSlim library to decimate a surface.
  decimate3DPoints
loops over a list of 3D points and removes any point to close to an already seen one Input Ports: points: (required) 3D points to be decimated cutoff: distance below which a point in cut Output Ports: points: decimated set of points .
  DistFromSphereToGeom
assign to every sphere the distance to the closest surface vertex.
  getSurfaceVFN
extract vertices, faces and normals from a geometry.
  ImageViewerNode
create an instance of an OpenGL-based image viewer...
  NPR
make NPR rendering of the currentCamera of a viewer
  SelectMultipleGeometry
Choose one or more geometry using regular expression matching on the name Input: viewer: Viewer in which to search for geoemtry objects name: regular expression parent: (optional) if specified, only children geometry objects of 'parent' will be searched.
  SelectGeometry
Choose a geometry in the DejaVu Viewer.
  Redraw
Create a DejaVu Redraw event.
  StopAutoRedraw
Stop autoRedraw mode in the viewer...
  StartAutoRedraw
Start autoRedraw mode in the viewer...
  OneRedraw
Make one redraw in the viewer.
  SetInstances
Assign instance matrices to a geometry.
  ReparentGeom
******************* DEPRECATED : USE geoms properties INSTEAD FOR THE GEOMETRY NODES OR THE IMPUT PORT "parent" assigns a geometry to a new parent.
  GeomsProperties
this node (should not be used with GeometryNode because it already manages all that) assigns a geometry to a new parent and set its properties.
  QConvexHull
Compute a convex hull using the external module QConvex.
  EllipsoidFit
Fit an ellipsoid into a list of 3-D coordinates.
  GyrationSphere
Calculate the center and radius of the gyration Sphere...
  GroupGeomsNE
Group DejaVu geoms.
  Decimate
  Texture1DCoords
Compute 1D texture coordinates for a list of values...
  Texture1D
This node maps a 1-dimensional texture to a geometry.
  Texture2D
This node maps a 2-dimensional texture to a geometry.
  ColorChooser
********************* DEPRECATED : USE Color Editor INSTEAD *************************** Interactively choose a color from a color wheel.
  ColorEditor
Interactively choose a color from a sophisticated widget exposing a colorwheel, a value scale, HSV entries, RGB entries and HEX(HexTriplet) entries.
  ColorMapNE
Create a user editable color map Turn a list of values into a list of colors using a colormap.
  ColorByRamp
DEPRECATED : USE A COLORMAP INSTEAD (and unbind the colormap in the colormap parampanel) Turn a list of values into a list of colors using a colormap.
  GeomsToVRML2
This node inputs a DejaVu viewer object and converts all visible geoms in vrml2 format.
  TransferFuncEditor
Transfer Function Editor widget used to edit color and opacity lookup tables of volumetric data.
  ScaleLegend
This node creates a line geometry for displaying a scale in a DejaVu camera.
  ReadSTL
************* DEPRECATED, USE GeomsFromFile instead **************
  ReadSTL_B
************* DEPRECATED, USE GeomsFromFile instead **************
  ComputeRMSD
Compute RMSD...
  SelectAxis
  DistanceMatrix
...
  DDM
...
  ConnectedComponents
Node to split connected surfaces.

Functions [hide private]
  importSymLib(net)
  importImageLib(net)
  importVolLib(net)

Variables [hide private]
  bhtreelibFound = True
  vizlib = <Vision.VPE.NodeLibrary instance at 0xb6f3262c>
  pth = '/mgl/python/releases/MGLToolsDir/binaries/qconvex'

Function Details [hide private]

importSymLib(net)

source code 
None

importImageLib(net)

source code 
None

importVolLib(net)

source code 
None

Variables Details [hide private]

bhtreelibFound

None
Value:
True                                                                   
      

vizlib

None
Value:
<Vision.VPE.NodeLibrary instance at 0xb6f3262c>                        
      

pth

None
Value:
'/mgl/python/releases/MGLToolsDir/binaries/qconvex'