PyFourStepsPlugin.NodeCompute

class NodeCompute

Inherited by: FourStepLoop

Synopsis

Methods

Virtual methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
addToQueue()
allPredictionsAvailable()
Return type:

bool

abstractmethod areConnectionsCompatible()
Return type:

bool

areOriginsOnQueue()
Return type:

bool

areUpstreamNodesReady()
Return type:

bool

canBeIncluded()
Return type:

bool

canExecute()
Return type:

bool

abstractmethod candidates()
Return type:

.list of GKObject

clone()
Return type:

NodeCompute

deleteDataFromDb()
deleteDataFromMemory()
deleteOriginDataFromMemory()
Return type:

bool

abstractmethod execute(taskId)
Parameters:

taskId – str

Return type:

bool

findDownstreamNodes([iIncludeLoops=true])
Parameters:

iIncludeLoops – bool

Return type:

.std.pairQSetNodeCompute,bool

findUpstreamNodes([iIncludeLoops=true])
Parameters:

iIncludeLoops – bool

Return type:

.std.pairQSetNodeCompute,bool

getDestinationNodes()
Return type:

.list of NodeCompute

getDownstreamNodes([iIncludeLoops=true])
Parameters:

iIncludeLoops – bool

Return type:

.list of NodeCompute

getFourStepsExperiment()
Return type:

FourStepsExperiment

getId()
Return type:

int

getInputNodes()
Return type:

.list of NodeCompute

getInputObjects(slotId)
Parameters:

slotId – str

Return type:

.list of GKObject

getInputSlots()
Return type:

.list of NodeSlot

getMissingInputConnections()
Return type:

.std.vectorQString

getModel()
Return type:

GKModel

getName()
Return type:

str

getOriginNodes()
Return type:

.list of NodeCompute

getOutputList([outSlot=None])
Parameters:

outSlotNodeSlot

Return type:

NodeOutput

getOutputNodes()
Return type:

.list of NodeCompute

getOutputObjects(slotId)
Parameters:

slotId – str

Return type:

.list of GKObject

getOutputSlots()
Return type:

.list of NodeSlot

getPosition()
Return type:

QPointF

getSlot(slotId, type)
Parameters:
Return type:

NodeSlot

getSlotInputElements(slotId)
Parameters:

slotId – str

Return type:

.list of NodeOutputElement

getSlotOutputElements(slotId)
Parameters:

slotId – str

Return type:

.list of NodeOutputElement

getStoreId()
Return type:

int

getTarget()
Return type:

GKObject

getType()
Return type:

str

getUpstreamNodes([iIncludeLoops=true])
Parameters:

iIncludeLoops – bool

Return type:

.list of NodeCompute

getUuid()
Return type:

QUuid

isConnected()
Return type:

bool

isOnQueue()
Return type:

bool

isPendingPrediction()
Return type:

bool

isReady()
Return type:

bool

loadData(iSlot[, iFilter=NodeOutput()])
Parameters:
Return type:

bool

loadOriginData()
Return type:

bool

predictInputs()
abstractmethod predictOutputs([iSlot=None])
Parameters:

iSlotNodeSlot

publishOutputs([iIteration=0])
Parameters:

iIteration – int

removeFromQueue()
reset()
resetOutput()
retrieveData()
Return type:

bool

setFourStepsExperiment(iExperiment)
Parameters:

iExperimentFourStepsExperiment

setModel(amodel)
Parameters:

amodelGKModel

setName(iName)
Parameters:

iName – str

setOutputObjects(slotId, objects)
Parameters:
  • slotId – str

  • objects – .list of GKObject

setPendingPrediction()
setPosition(iPosition)
Parameters:

iPositionQPointF

setPredicted()
setSlots()
setStoreId(aid)
Parameters:

aid – int

setTarget(atarget)
Parameters:

atargetGKObject

setType(atype)
Parameters:

atype – str

validPredictedInputs()
Return type:

bool

validPredictedOutputs()
Return type:

bool

validSettings()
Return type:

bool