#include <DOP_Parent.h>
|
| DOP_Parent () |
|
| ~DOP_Parent () override |
|
const DOP_Engine & | getEngine () const |
|
DOP_Engine & | getNonConstEngine () |
|
int | dopparentUniqueId () const |
|
void | setNeedsToResimulateLastTimestep () |
|
void | setNeedsToFilterData () |
|
void | setNeedsToCompletelyReset () override |
|
void | setDOPTime (const SIM_Time &t) |
|
const SIM_Time | getDOPTime (const SIM_Time &t) const |
|
const SIM_Time | getGlobalTime (const SIM_Time &t) const |
|
void | resimulate () |
|
void | resimulateToTime (const SIM_Time &t) |
|
bool | getNeedsResimulation () const |
|
const SIM_Time & | getOffsetTime () const |
| Attributes for controlling the simulation behavior. More...
|
|
void | setOffsetTime (const SIM_Time &t) |
|
fpreal | getTimeScale () const |
|
void | setTimeScale (fpreal scale) |
|
bool | getAutoResimulation () const |
|
void | setAutoResimulation (bool autoreset) |
|
bool | getInterpolateData (const SIM_Time &t) const |
|
void | setInterpolateData (bool interpolate) |
|
bool | getIsSimulating () const |
|
virtual bool | getIsTimeless () const |
|
void | setIsSimulating (bool val) |
|
bool | getDisableSimulation () const |
|
void | setDisableSimulation (bool disable) |
|
void | findAllObjectsFromString (const char *objspec, SIM_ConstObjectArray &objects, const SIM_Time &t) const |
|
const SIM_Object * | findObjectFromString (const char *objspec, int whichmatch, int *nummatch, const SIM_Time &t) const |
|
void | findAllRelationshipsFromString (const char *relspec, SIM_ConstDataArray &relationships, const SIM_Time &t) const |
|
const SIM_Relationship * | findRelationshipFromString (const char *relspec, int whichmatch, int *nummatch, const SIM_Time &t) const |
|
DOP_Node::DOP_CookData & | getDopNodeCookData () |
|
void | sendResimulateNotification (bool callnotify, bool changingguideparm) |
|
DEP_MicroNode & | simMicroNode () |
|
DEP_MicroNode & | simInputMicroNode () |
|
DEP_MicroNode & | resimParmsMicroNode () |
|
const DEP_MicroNode & | resimParmsMicroNode () const |
|
DEP_MicroNode & | refilterParmsMicroNode () |
|
const DEP_MicroNode & | refilterParmsMicroNode () const |
|
void | opGetSimExtraInputNodes (OP_NodeList &extras) const override |
|
bool | opGetNeedsResimulation () const override |
|
bool | opGetDisableSimulation () const override |
|
void | opGetDiskCache (UT_Array< int > &frames) const override |
| Query cache size. More...
|
|
void | opGetMemoryCache (UT_Array< int > &frames) const override |
|
void | updateResimParms (const SIM_Time &t) |
|
| OP_DopParent () |
|
virtual | ~OP_DopParent () |
|
virtual bool | opIsPlayer () const =0 |
| Checks to see if the dop is in play mode. More...
|
|
Definition at line 33 of file DOP_Parent.h.
DOP_Parent::DOP_Parent |
( |
| ) |
|
DOP_Parent::~DOP_Parent |
( |
| ) |
|
|
override |
int DOP_Parent::dopparentUniqueId |
( |
| ) |
const |
|
inline |
This function calls filterDataSubclass() to cache pointers to the simulation data that is of interest to us.
void DOP_Parent::filterDataIfRequired |
( |
| ) |
const |
|
protected |
Check if we need to filter our simulation data, and do so if required.
virtual void DOP_Parent::filterDataSubclass |
( |
const SIM_Time & |
t | ) |
|
|
protectedpure virtual |
const SIM_Object* DOP_Parent::findObjectFromString |
( |
const char * |
objspec, |
|
|
int |
whichmatch, |
|
|
int * |
nummatch, |
|
|
const SIM_Time & |
t |
|
) |
| const |
This static function returns an array of all DOP_Parents.
bool DOP_Parent::getAutoResimulation |
( |
| ) |
const |
bool DOP_Parent::getDisableSimulation |
( |
| ) |
const |
|
inline |
Used externally to flag that we do not want to resimulate due to our setDOPTime() invocations.
Definition at line 87 of file DOP_Parent.h.
DOP_Node::DOP_CookData& DOP_Parent::getDopNodeCookData |
( |
| ) |
|
Returns data used by DOP_Nodes during their cook process. This is information that is global to the DOP Network as it cooks.
Returns the simulation time that corresponds to a given global Houdini time.
virtual const DOP_Engine& DOP_Parent::getEngineSubclass |
( |
| ) |
const |
|
protectedpure virtual |
Returns the global Houdini time that corresponds to a given simulation time.
bool DOP_Parent::getInterpolateData |
( |
const SIM_Time & |
t | ) |
const |
bool DOP_Parent::getIsSimulating |
( |
| ) |
const |
virtual bool DOP_Parent::getIsTimeless |
( |
| ) |
const |
|
inlinevirtual |
const SIM_Time& DOP_Parent::getLastSetTime |
( |
| ) |
const |
|
protected |
static OP_Node* DOP_Parent::getMostRecentDopOwner |
( |
| ) |
|
|
static |
The current dopnet may not be the top of the recently used. Dopnets that are inside locked assets, for example, are rather useless as destinations. Except we do want access to those for tracking cache settings, reset flags, etc.
static OP_Node* DOP_Parent::getMostRecentWriteableDopOwner |
( |
| ) |
|
|
static |
bool DOP_Parent::getNeedsResimulation |
( |
| ) |
const |
Returns true if the DOP network has changed such that the simulation needs to be reset.
virtual DOP_Engine& DOP_Parent::getNonConstEngineSubclass |
( |
| ) |
|
|
protectedpure virtual |
const SIM_Time& DOP_Parent::getOffsetTime |
( |
| ) |
const |
Attributes for controlling the simulation behavior.
fpreal DOP_Parent::getTimeScale |
( |
| ) |
const |
virtual void DOP_Parent::handleRefilterParms |
( |
const SIM_Time & |
t | ) |
|
|
inlineprotectedvirtual |
virtual void DOP_Parent::handleResimParms |
( |
const SIM_Time & |
t | ) |
|
|
inlineprotectedvirtual |
void DOP_Parent::notifySimulationChangeSinksOfChange |
( |
| ) |
|
|
protected |
void DOP_Parent::notifySimulationChangeSinksOfDelete |
( |
| ) |
|
|
protected |
bool DOP_Parent::opGetDisableSimulation |
( |
| ) |
const |
|
overridevirtual |
bool DOP_Parent::opGetNeedsResimulation |
( |
| ) |
const |
|
inlineoverridevirtual |
const DEP_MicroNode& DOP_Parent::refilterParmsMicroNode |
( |
| ) |
const |
|
inline |
void DOP_Parent::resimulate |
( |
| ) |
|
void DOP_Parent::resimulateLastTimestep |
( |
| ) |
|
|
protected |
virtual void DOP_Parent::resimulateLastTimestepSubclass |
( |
| ) |
|
|
protectedvirtual |
Resets the simulation and cooks to a specific DOP time, this avoids double cooking if you are resetting to frame 0.
void DOP_Parent::sendResimulateNotification |
( |
bool |
callnotify, |
|
|
bool |
changingguideparm |
|
) |
| |
Sends out a parm changed message so that anyone interested in the simulation will know to refresh their data. This call also protects the DOP Network from causing infinite recursion when the DOP Network is interested in a SOP node which is interested in the DOP Network (a common and legal situation when using a SOP Solver, for example).
void DOP_Parent::setAutoResimulation |
( |
bool |
autoreset | ) |
|
void DOP_Parent::setDisableSimulation |
( |
bool |
disable | ) |
|
|
inline |
Sets the current simulation time, solving all intermediate steps. Note that the time t passed in to this function is a global Houdini time, and may not match the simulation time.
virtual void DOP_Parent::setDOPTimeSubclass |
( |
const SIM_Time & |
t | ) |
|
|
protectedvirtual |
void DOP_Parent::setInterpolateData |
( |
bool |
interpolate | ) |
|
void DOP_Parent::setIsSimulating |
( |
bool |
val | ) |
|
|
inline |
Used by SIM_Engine to flag this privately if it is during an internally generated simulation pass
Definition at line 82 of file DOP_Parent.h.
static void DOP_Parent::setMostRecentDopParent |
( |
DOP_Parent * |
dopparent | ) |
|
|
static |
This function moves a particular DOP_Parent to the front of the list of all DOP_Parents. This lets us treat this list as a "most recently
used" stack.
void DOP_Parent::setNeedsToCompletelyReset |
( |
| ) |
|
|
overridevirtual |
void DOP_Parent::setNeedsToFilterData |
( |
| ) |
|
Sets a flag that says we need to re-filter our simulation data the next time a request for the data is made.
void DOP_Parent::setNeedsToResimulateLastTimestep |
( |
| ) |
|
Update re-simulation parameters, ensuring getOffsetTime and the ilk are valid. This is required before getDOPTime will work as expected (but note setDOPTime() implicitly invokes this)
The documentation for this class was generated from the following file: