R HELP CPLOT GENERATOR
# - changeBlanking (array) - import Generator as G import Converter as C import CPlot import time a = G. finalizeExport ( 1 ) # close mpeg file import os os. finalizeExport () # wait for end of file write CPlot.
display (, bgColor = 1, mode = 0, solidStyle = 1, posCam = ( 0, 6, 0 ), export = 'export.mpeg', exportResolution = '680圆00', offscreen = 2 ) CPlot.
R HELP CPLOT MOVIE
_exit ( 0 ) # Mpeg Movie for i in xrange ( 50 ): a = T. finalizeExport () # wait for end of file write import os os. display (, offscreen = 2, bgColor = 1, mode = 0, meshStyle = 2, solidStyle = 1, posCam = ( 0, 6, 0 ), export = 'one%d.png' % i ) CPlot.
finalizeExport () # wait for end of file write for i in xrange ( 5 ): a = T. display (, offscreen = 2, bgColor = 1, mode = 0, meshStyle = 2, solidStyle = 1, posCam = ( 0, 6, 0 ), export = 'one.png' ) CPlot. # - display (array) - # Offscreen using FBO import CPlot import Transform as T import Converter as C import Geom as D import time a = D.
R HELP CPLOT ISO
isoEdges ( float) – width of iso edges for scalar display (default: -1).niso ( int) – number of isos (default: 25).colormap ( int) – 0: Blue2Red, 2: Green2Red, 4: Black2White, 6: White2Black, 8: Diverging (default: 0).vectorNormalize ( 0 or 1) – if 1, displayed vectors are normalized.vectorDensity ( float) – the density of vectors.vectorStyle ( int) – 0: RGB, 1: triangles, 2: lines, 3: arrows, 4: uniform lines.scalarStyle ( int) – 0: banded, 1: banded+mesh, 2: lines, 3: lines+mesh (default: 0).solidStyle ( int) – 0: blue, 1: colored by zone, 3: cyan (default: 1).meshStyle ( int) – 0: white solid and red wireframe, 1: colored wireframe, 2: colored solid and wireframe, 3: cyan solid and black wireframe (default: 2).displayIsoLegend ( int) – 0 means no iso legend display (default: 0).displayInfo ( int) – 0 means no info display (default: 1).displayBB ( int) – 0: bounding box display (default: 1).vectorField1, 2, 3 ( int or string) – vector field number or vector Field name.scalarField ( int or string) – scalar field number or scalar field name.0 or ‘Mesh’: mesh, 1 or ‘Solid’: solid, 2 or ‘Render’: render, 3 or ‘Scalar’: scalar field, 4 or ‘Vector’: vector field (default: 0) k or K or Ctrl+k or Ctrl+K: change displayed k plane.ĭisplay function has a lot of optional options that can be specified as arguments.j or J or Ctrl+j or Ctrl+J: change displayed j plane.i or I or Ctrl+i or Ctrl+I: change displayed i plane (structured zones).a or A: activate(show)/deactivate(hide) a selected zone.1 or Shift+1: display fields (switch variable next and previous).Shift + double left mouse: center view.Ctrl + left mouse: Accurate select (click on node).Shift + Ctrl + left mouse: multiple select.
R HELP CPLOT FULL
– Set rendering informations in pyTree 2Zone(t)Ĭ2PyTree(t) Move posCam and posEye following check points. – Camera setting and motion CPlot.lookFor()ĬPlot.moveCamera(checkPoints) Return mouse state (mouse position and button state).ĬtState() Return the active (clicked) point in plotter. Return the active status of a zone in plotter. Return the active (displayed) zones in plotter. Return the selected status of a zone in plotter. – Set / Get functions CPlot.getState(mode) – Actions CPlot.display(arrays)ĬPlot.add(arrays, no, array)ĬPlot.replace(arrays, no, array)ĬPlot.display1D(arrays)