Click or drag to resize
SoSFImage3 Methods

The SoSFImage3 type exposes the following members.

Methods
  NameDescription
Public methodAppendConnection(SoEngineOutput)

Appends this field to the list of connections from another engineOutput.

(Inherited from SoField.)
Public methodAppendConnection(SoField)

Appends this field to the list of connections from another field.

(Inherited from SoField.)
Public methodAppendConnection(SoVRMLInterpOutput)

Appends this field to the list of connections from another interpOutput.

(Inherited from SoField.)
Public methodConnectFrom(SoEngineOutput)

Connects this field from an engine output.

(Inherited from SoField.)
Public methodConnectFrom(SoField)

Connects this field to another field.

(Inherited from SoField.)
Public methodConnectFrom(SoVRMLInterpOutput)

Connects this field from an interpOutput.

(Inherited from SoField.)
Public methodCopyFrom

Copy from another field of same type.

Public methodDisconnect

Disconnect the field from whatever it was connected to.

(Inherited from SoField.)
Public methodDisconnect(SoEngineOutput)

Disconnect the field from the requested engineOutput.

(Inherited from SoField.)
Public methodDisconnect(SoField)

Disconnect the field from the requested field.

(Inherited from SoField.)
Public methodDisconnect(SoVRMLInterpOutput)

Disconnect the field from the requested interpOutput.

(Inherited from SoField.)
Public methodEnableConnection

Field connections may be enabled and disabled.

(Inherited from SoField.)
Public methodEquals
Public methodFinishEditing

These methods can be used to efficiently edit the values in an image field.

Public methodGet

Returns the value of the field in the Open Inventor file format, even if the field has its default value.

(Inherited from SoField.)
Public methodGetBufferObject

Public methodGetBufferObject(SbVec3s, Int32)

Returns the pixels in the image as a buffer object.

Public methodGetConnectedEngine

Returns true if this field is being written into by an engine, and returns the engine output it is connected to in engineOutput.

(Inherited from SoField.)
Public methodGetConnectedField

Returns true if this field is being written into by another field, and returns the field it is connected to in writingField.

(Inherited from SoField.)
Public methodGetConnectedVRMLInterp

Returns the VRMLInterpolator output field is connected to.

(Inherited from SoField.)
Public methodGetConnections

Returns a list of the connections to this field.

(Inherited from SoField.)
Public methodGetContainer

Returns the object that contains this field.

(Inherited from SoField.)
Public methodGetForwardConnections

Adds references to all of the fields that this field is writing into (either fields in nodes, global fields or engine inputs) to the given field list, and returns the number of forward connections.

(Inherited from SoField.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumConnections

Returns the number of connections to this field.

(Inherited from SoField.)
Public methodGetSubTexture

Returns a buffer to a given subTexture set by setSubValue or setSubValues.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue

Returns the pixels in the image as an array of unsigned chars.

Public methodHasSubTextures

Returns true if subTextures have been defined or false if none have been defined.

Public methodIsConnected

Returns true if the field is connected to anything.

(Inherited from SoField.)
Public methodIsConnectedFromEngine

Returns true if the field is connected to an engine's output.

(Inherited from SoField.)
Public methodIsConnectedFromField

Returns true if the field is connected to another field.

(Inherited from SoField.)
Public methodIsConnectedFromVRMLInterp

Returns true if the field is connected to a VRML interpOutput.

(Inherited from SoField.)
Public methodIsConnectionEnabled

Returns false if connections to this field are disabled.

(Inherited from SoField.)
Public methodIsDefault

Gets the state of default flag of the field.

(Inherited from SoField.)
Public methodIsIgnored

Gets the ignore flag for this field.

(Inherited from SoField.)
Public methodIsNeverWrite

As this field may have to handle large amounts of data and its representation in an .iv file is not very efficient, it is often a good idea not to allow that data to be written out when required by a write action.

Public methodSet

Sets the field to the given value, which is an ASCII string in the Open Inventor file format.

(Inherited from SoField.)
Public methodSetIgnored

Sets the ignore flag for this field.

(Inherited from SoField.)
Public methodSetNeverWrite

As this field may have to handle large amounts of data and its representation in an .iv file is not very efficient, it is often a good idea not to allow that data to be written out when required by a write action.

Public methodSetSubValue(SbVec3s, SbVec3s, Byte)
Calls SetSubValue(subSize, offset, bytes, OIV.Inventor.Fields.SoSFImage3.CopyPolicies( .SoSFImage3.COPY )).
Public methodSetSubValue(SbVec3s, SbVec3s, Byte, SoSFImage3CopyPolicies)

These methods may be used for subtexturing: instead of replacing the entire texture in texture memory, only parts of it are replaced.

Public methodSetSubValues(SbVec3s, SbVec3s, Int32, Byte)
Calls #SetSubValues with COPY as last argument
Public methodSetSubValues(SbVec3s, SbVec3s, Int32, Byte, SoSFImage3CopyPolicies)
This method can be used for subtexturing.
Public methodSetValue(SbVec3s, Int32, SoBufferObject)
Calls SetValue(size, nc, bufferObject, OIV.Inventor.Fields.SoSFImage3.CopyPolicies( .SoSFImage3.COPY )).
Public methodSetValue(SbVec3s, Int32, Byte)
Calls SetValue(size, nc, bytes, OIV.Inventor.Fields.SoSFImage3.CopyPolicies( .SoSFImage3.COPY )).
Public methodSetValue(SbVec3s, Int32, SoBufferObject, SoSFImage3CopyPolicies)
Public methodSetValue(SbVec3s, Int32, Byte, SoSFImage3CopyPolicies)

setValue copies the image given to it into internal storage.

Public methodStartEditing

These methods can be used to efficiently edit the values in an image field.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTouch

Simulates a change to the field, causing attached sensors to fire, connected fields and engines to be marked as needing evaluation, and so forth.

(Inherited from SoField.)
Top
See Also