SOGATE(3iv)
β¨ SoGate β¨
okay bestie, welcome to SoGate(3IV) β that's the page name and she lives in section 3IV of the manual. she's an engine, she's dramatic, she's a gate, and she's about to change your whole scene. π
πΈ NAME πΈ
SoGate β selectively copies its input to its output. that's it, that's the girl. she's a gate and she decides what gets through. π
π¦ INHERITS FROM π¦
SoBase > SoFieldContainer > SoEngine > SoGate
she comes from a whole lineage, okay, she's got main character energy and a family tree. π
π SYNOPSIS π
#include <Inventor/engines/SoGate.h>
π Inputs from class SoGate
SoSFBool enable
SoSFTrigger trigger
<inputType> input
π Outputs from class SoGate
(<outputType>) output
β¨ Methods from class SoGate
SoGate(SoType inputType)
πΈ Methods from class SoEngine
static SoType getClassTypeId()
virtual int getOutputs(SoEngineOutputList &list) const
SoEngineOutput * getOutput(const SbName &outputName) const
SbBool getOutputName(const SoEngineOutput *output, SbName
&outputName) const
SoEngine * copy() const
static SoEngine * getByName(const SbName &name)
static int getByName(const SbName &name, SoEngineList &list)
π¦ Methods from class SoFieldContainer
void setToDefaults()
SbBool hasDefaultValues() const
SbBool fieldsAreEqual(const SoFieldContainer *fc) const
void copyFieldValues(const SoFieldContainer *fc, SbBool
copyConnections = FALSE)
SbBool set(const char *fieldDataString)
void get(SbString &fieldDataString)
virtual int getFields(SoFieldList &resultList) const
virtual SoField * getField(const SbName &fieldName) const
SbBool getFieldName(const SoField *field, SbName &fieldName)
const
SbBool isNotifyEnabled() const
SbBool enableNotify(SbBool flag)
π Methods from class SoBase
void ref()
void unref() const
void unrefNoDelete() const
void touch()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
virtual void setName(const SbName &name)
virtual SbName getName() const
π DESCRIPTION π
so like. this engine selectively copies its input to its output. that's the whole personality. π«Ά
the type of the input field can be any subclass of SoMField. the type is specified when an instance of the class is created. for example, SoGate(SoMFFloat::getClassTypeId()) creates an engine that copies floating-point values. slay. β¨
the enable input controls continous flow-through of values. while enable is TRUE, the input will be copied to the output. alternatively, by touching the trigger input, you can copy a single value from the input to the output. two ways in, one girl. π
note that unlike most other engine fields,inputandoutputare pointers. note also that by defaultinputdoes not contain any values. π«£
π INPUTS π
enableβSoSFBool. enables continous flow-through (yes the manpage spells it "continous", we love her for it). πtriggerβSoSFTrigger. copies a single value. one and done, periodt. β¨inputβ<inputType>. the value that gets copied to theoutputwhen the gate is open. π
π OUTPUTS π
outputβ(<outputType>). contains a copy of theinputvalue if the gate is open. if the gate is closed she simply does not pass it along, no cap. π¦
π METHODS π
SoGate(SoType inputType)β constructor. the argument specifies the type of theinputfield. π
β FILE FORMAT/DEFAULTS β
Gate {
type <inputType>
input []
enable FALSE
trigger
}
look at her defaults bestie β enable starts out FALSE so the gate is shut, input is empty [], and trigger is just vibing. πΈ
π SEE ALSO π
SoEngineOutputSoConcatenateSoSelectOne
go read those next, they're all in the same friend group. π«Ά
okay bye ily, this page signs off as SoGate(3IV)() β that's the source/version tag SoGate(3IV) with an empty date slot next to it, iconic honestly, she left the date blank like a true mystery. πβ¨
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms