Uses of Class
com.openinventor.inventor.devices.SoBufferObject
-
Packages that use SoBufferObject Package Description com.openinventor.inventor Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.com.openinventor.inventor.algorithms Module that define available Open Inventor optimized algoritms.com.openinventor.inventor.devices Open Inventor supported devices.com.openinventor.inventor.fields com.openinventor.inventor.image com.openinventor.inventor.nodes com.openinventor.ldm Large Data Management.com.openinventor.ldm.converters com.openinventor.ldm.nodes com.openinventor.ldm.readers com.openinventor.ldm.tiles com.openinventor.ldm.writers com.openinventor.volumeviz.nodes com.openinventor.volumeviz.readers com.openinventor.volumeviz.readers.dicom -
-
Uses of SoBufferObject in com.openinventor.inventor
Methods in com.openinventor.inventor with parameters of type SoBufferObject Modifier and Type Method Description boolean
SoOffscreenRenderArea. renderToBuffer(SoBufferObject buffer)
Calls renderToBuffer(buffer, SoOffscreenRenderArea.OutputFormats.valueOf( SoOffscreenRenderArea.OutputFormats.RGB.getValue() )).boolean
SoOffscreenRenderArea. renderToBuffer(SoBufferObject buffer, SoOffscreenRenderArea.OutputFormats outputFormat)
Render the given scene graph and save the result in the given buffer. -
Uses of SoBufferObject in com.openinventor.inventor.algorithms
Methods in com.openinventor.inventor.algorithms that return SoBufferObject Modifier and Type Method Description SoBufferObject
SoAlgorithms. createBufferObject()
Returns an instance of aSoBufferObject
according to the hardware used by the loaded module.Methods in com.openinventor.inventor.algorithms with parameters of type SoBufferObject Modifier and Type Method Description int
SoArithmetic. add(SoBufferObject inputBufferA, SbDataType typeA, SoBufferObject inputBufferB, SbDataType typeB, SoBufferObject outputBufferC, SbDataType typeC)
Add two buffers into a third one.int
SoSeismic. computeEnvelope(SoBufferObject sourceBufferObject, SoBufferObject targetBufferObject, int traceSize, int numTrace)
Compute envelope (amplitude) attribute on a set of seismic traces.int
SoSeismic. computeHilbert(SoBufferObject sourceBufferObject, SoBufferObject targetBufferObject, int width, int height)
Compute Hilbert transform on a set of seismic traces.int
SoSeismic. computeInstPhase(SoBufferObject sourceBufferObject, SoBufferObject targetBufferObject, int traceSize, int numTrace)
Compute instantaneous phase attribute on a set of seismic traces.double[]
SoArithmetic. computeMinMax(SoBufferObject inputBuffer, SbDataType dataType)
Compute min max of all values contained in a buffer.double[]
SoArithmetic. computeMinMax(SoBufferObject inputBuffer, SbDataType dataType, SbVec3i32 arrayDim, SbBox3i32 range)
Compute min max of values contained in the specified range of the buffer.double[]
SoArithmetic. computeMinMaxWithUndefinedValue(SoBufferObject inputBuffer, SbDataType dataType, double undefinedValue)
Compute min max of all values contained in a buffer that are not equal to the specified undefined value.double[]
SoArithmetic. computeMinMaxWithUndefinedValue(SoBufferObject inputBuffer, SbDataType dataType, SbVec3i32 arrayDim, SbBox3i32 range, double undefinedValue)
Compute min max of values contained in the specified range of the buffer that are not equal to the specified undefined value.int
SoConversion. convert(SoBufferObject sourceBufferObject, SbDataType src_type, SoBufferObject targetBufferObject, SbDataType dst_type, long size)
Convert the data in a buffer object from one data type to another one.int
SoConversion. convertFloatToRGBA(SoBufferObject sourceBufferObject, SoBufferObject targetBufferObject, long size, float dataMin, float dataMax)
Convert FLOAT data stored in a buffer to (grayscale) RGBA data.int
SoDataExtract. copyPlane(SoBufferObject inputTile, int tileDimX, int tileDimY, int tileDimZ, int originX, int originY, int originZ, int datumSize, int bufDimX, int qminX, int qminY, int qminZ, int qmaxX, int qmaxY, int qmaxZ, float normI, float normJ, float normK, float distance, int xAxis, int yAxis, int zAxis, SoBufferObject outputBuffer)
Copy a plane.int
SoDataExtract. copyTile(SoBufferObject inputTile, int tileDimx, int tileDimy, int tileDimz, int originX, int originY, int originZ, int datumSize, int bufDimX, int bufDimY, int bufDimZ, int vMinX, int vMinY, int vMinZ, int vMaxX, int vMaxY, int vMaxZ, SoBufferObject outputBuffer)
Copy a tile.int
SoDataExtract. getXSliceFromTile(SoBufferObject inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject outputSlice)
Extract an X axis slice
Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.int
SoDataExtract. getYSliceFromTile(SoBufferObject inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject outputSlice)
Extract an X axis slice
Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.int
SoDataExtract. getZSliceFromTile(SoBufferObject inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject outputSlice)
Extract an X axis slice
Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.int
SoArithmetic. madd(SoBufferObject inputBufferA, SbDataType typeA, SoBufferObject inputBufferB, SbDataType typeB, SoBufferObject outputBufferC, SbDataType typeC, float scaleValue)
C = A * scale + B
Note: C can be a reference to A or B
Limitation: typeA and typeB must be the same as typeC.int
SoArithmetic. mult(SoBufferObject inputBufferA, SbDataType typeA, SoBufferObject inputBufferB, SbDataType typeB, SoBufferObject outputBufferC, SbDataType typeC)
Multiply two buffers into a third one.int
SoArithmetic. scale(SoBufferObject inputBufferA, SbDataType typeA, SoBufferObject outputBufferB, SbDataType typeB, float scaleValue)
B = A * scaleFactor
Note: B can be a reference to A
Limitation: typeA must be the same as typeC.int
SoArithmetic. shift(SoBufferObject inputBufferA, SbDataType typeA, SoBufferObject outputBufferB, SbDataType typeB, float shiftFactor)
B = A + shiftFactor
Note: B can be a reference to A
Limitation: typeA must be the same as typeC. -
Uses of SoBufferObject in com.openinventor.inventor.devices
Subclasses of SoBufferObject in com.openinventor.inventor.devices Modifier and Type Class Description class
SoCpuBufferObject
CPU buffer object class.class
SoGLBufferObject
OpenGL buffer object class.class
SoGpuBufferObject
GPU buffer object class.class
SoInteropBufferObject
Abstract base class for interoperability buffer object management.Methods in com.openinventor.inventor.devices that return SoBufferObject Modifier and Type Method Description SoBufferObject
SoBufferObject. createInstance()
Create a new buffer with the same properties as the current one.SoBufferObject
SoBufferObject. getMappedBufferObject()
Returns a pointer to the buffer object which is mapped by the actual object.Methods in com.openinventor.inventor.devices with parameters of type SoBufferObject Modifier and Type Method Description void
SoBufferObject. map(SoBufferObject targetBufferObject, SoBufferObject.AccessModes accessMode)
Calls map(targetBufferObject, accessMode, (long)0, (long)SO_BUFFER_SIZE_ALL).void
SoBufferObject. map(SoBufferObject targetBufferObject, SoBufferObject.AccessModes accessMode, long startPosition)
Calls map(targetBufferObject, accessMode, startPosition, (long)SO_BUFFER_SIZE_ALL).void
SoBufferObject. map(SoBufferObject targetBufferObject, SoBufferObject.AccessModes accessMode, long startPosition, long mappingSize)
Maps the current buffer object into the specified buffer object.void
SoBufferObject. memcpy(SoBufferObject sourceBufferObject)
Calls memcpy(sourceBufferObject, (long)0, (long)0, (long)SO_BUFFER_SIZE_ALL).void
SoBufferObject. memcpy(SoBufferObject sourceBufferObject, long destOffset)
Calls memcpy(sourceBufferObject, destOffset, (long)0, (long)SO_BUFFER_SIZE_ALL).void
SoBufferObject. memcpy(SoBufferObject sourceBufferObject, long destOffset, long sourceOffset)
Calls memcpy(sourceBufferObject, destOffset, sourceOffset, (long)SO_BUFFER_SIZE_ALL).void
SoBufferObject. memcpy(SoBufferObject sourceBufferObject, long destOffset, long sourceOffset, long copySize)
Copies data from the specified buffer object into this buffer object.void
SoBufferObject. unmap(SoBufferObject bufferObject)
Unmap this buffer from the specified buffer object. -
Uses of SoBufferObject in com.openinventor.inventor.fields
Fields in com.openinventor.inventor.fields declared as SoBufferObject Modifier and Type Field Description SoBufferObject
SoSFImage3.BufferObject. returnedValue
Methods in com.openinventor.inventor.fields that return SoBufferObject Modifier and Type Method Description SoBufferObject
SoSFBufferObject. getValue()
Returns this field's value.SoBufferObject
SoMFBufferObject. getValueAt(int i)
Methods in com.openinventor.inventor.fields with parameters of type SoBufferObject Modifier and Type Method Description int
SoMFBufferObject. find(SoBufferObject targetValue)
Calls find(targetValue, false).int
SoMFBufferObject. find(SoBufferObject targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFBufferObject. set1Value(int index, SoBufferObject newValue)
Sets the index'th value in the array to newValue.void
SoMFBufferObject. setValue(SoBufferObject newValue)
Sets the first value in the array to newValue, and deletes.void
SoSFBufferObject. setValue(SoBufferObject newValue)
Sets this field to newValue.void
SoSFImage. setValue(SbVec2i32 size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject)
Calls setValue(size, nc, dataType, bufferObject, SoSFImage.CopyPolicies.valueOf( SoSFImage.CopyPolicies.COPY.getValue() )).void
SoSFImage. setValue(SbVec2i32 size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject, SoSFImage.CopyPolicies copy)
void
SoSFImage. setValue(SbVec2s size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject)
Calls setValue(size, nc, dataType, bufferObject, SoSFImage.CopyPolicies.valueOf( SoSFImage.CopyPolicies.COPY.getValue() )).void
SoSFImage. setValue(SbVec2s size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject, SoSFImage.CopyPolicies copy)
void
SoSFImage3. setValue(SbVec3i32 size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject)
Calls setValue(size, nc, dataType, bufferObject, SoSFImage3.CopyPolicies.valueOf( SoSFImage3.CopyPolicies.COPY.getValue() )).void
SoSFImage3. setValue(SbVec3i32 size, int nc, SoSFImage.DataTypes dataType, SoBufferObject bufferObject, SoSFImage3.CopyPolicies copy)
Sets the value of this field to be an image of the given size, with the given number of components, and with the given pixel values.void
SoSFImage3. setValue(SbVec3s size, int nc, SoBufferObject bufferObject)
Calls setValue(size, nc, bufferObject, SoSFImage3.CopyPolicies.valueOf( SoSFImage3.CopyPolicies.COPY.getValue() )).void
SoSFImage3. setValue(SbVec3s size, int nc, SoBufferObject bufferObject, SoSFImage3.CopyPolicies copy)
Sets the value of this field to be an image of the given size, with the given number of components, and with the given pixel values.void
SoMFBufferObject. setValues(int start, SoBufferObject[] newValues)
Sets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SoBufferObject Constructor Description SoSFBufferObject(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SoBufferObject defaultValue)
Default constructor. -
Uses of SoBufferObject in com.openinventor.inventor.image
Methods in com.openinventor.inventor.image that return SoBufferObject Modifier and Type Method Description SoBufferObject
SbRasterImage. getBufferObject()
Returns the pixel buffer of the raster image.Methods in com.openinventor.inventor.image with parameters of type SoBufferObject Modifier and Type Method Description void
SbRasterImage. setBuffer(SoBufferObject bufferObject)
Sets the pixel buffer of the raster image.Constructors in com.openinventor.inventor.image with parameters of type SoBufferObject Constructor Description SbRasterImage(SbVec2i32 size, SbRasterImage.Components components, SoBufferObject bufferObject)
Constructor that initializes with an image. -
Uses of SoBufferObject in com.openinventor.inventor.nodes
Methods in com.openinventor.inventor.nodes with parameters of type SoBufferObject Modifier and Type Method Description static SoInstanceParameter
SoInstanceParameter. createPredefinedParameter(SoInstanceParameter.PredefinedParameters paramKey, SoBufferObject values)
Calls createPredefinedParameter(paramKey, values, (int)1).static SoInstanceParameter
SoInstanceParameter. createPredefinedParameter(SoInstanceParameter.PredefinedParameters paramKey, SoBufferObject values, int divisor)
Creates an instance parameter object for one of the predefined attribute names.void
SoVertexAttribFeedback. registerFeedback(java.lang.String varyingName, SoBufferObject bufferObject)
Calls registerFeedback(varyingName, bufferObject, (int)-1).void
SoVertexAttribFeedback. registerFeedback(java.lang.String varyingName, SoBufferObject bufferObject, int primitiveSize)
This function allows to attach a buffer object to a specific varying of the shader pushed on the state. -
Uses of SoBufferObject in com.openinventor.ldm
Methods in com.openinventor.ldm with parameters of type SoBufferObject Modifier and Type Method Description void
SoVolumeHistogram. addValues(SoBufferObject values, int numValues)
Add to the histogram a 1D array of values.void
SoVolumeHistogram. addValues(SoBufferObject values, SbVec3i32 arrayDim)
Add to the histogram a 3D array of values.void
SoVolumeHistogram. addValues(SoBufferObject values, SbVec3i32 arrayDim, SbBox3i32 range)
Add to the histogram the values in the specified range inside the given array.static double[]
SoVolumeHistogram. computeMinMax(SoBufferObject valuesBuffer, SbDataType dataType, SbVec3i32 arrayDim, SbBox3i32 range)
Compute min max.static double[]
SoVolumeHistogram. computeMinMaxWithUndefined(SoBufferObject valuesBuffer, double undefinedValue, SbDataType dataType, SbVec3i32 arrayDim, SbBox3i32 range)
Compute min max.SoLDMDataAccess.DataInfoBox
SoLDMDataAccess. getData(int resolution, SbBox3i32 subVolume, SoBufferObject bufferObj)
Given a subvolume in voxel coordinates, copies the associated data into an application buffer.SoLDMDataAccess.DataInfoLine
SoLDMDataAccess. getData(int resolution, SbBox3i32 subVolume, SbLine line, SoBufferObject bufferObj)
Given a subvolume in voxel coordinates and a line, copies the data intersecting the line and the subvolume into an application buffer.SoLDMDataAccess.DataInfoPlane
SoLDMDataAccess. getData(int resolution, SbBox3i32 subVolume, SbPlane plane, SoBufferObject bufferObj)
Given a subvolume in voxel coordinates and a plane, copies the data intersecting the plane and the subvolume into an application bufferSoLDMDataAccess.DataInfoTrace
SoLDMDataAccess. getData(int resolution, SbBox3i32 subVolume, SbVec2i32 coord, SoBufferObject bufferObj)
Data values in a single seismic trace (a row of voxels along the volume X axis) are copied into an application buffer.int
SoLDMDataAccess. requestData(int resolution, SbBox3i32 box, SoBufferObject bufferObj)
Given a subvolume in voxel coordinates, asynchronously copies the associated data into an application buffer.int
SoLDMDataAccess. requestData(int resolution, SbBox3i32 subVolume0, SbLine line, SoBufferObject bufferObj)
Given a subvolume in voxel coordinates and a line, asynchronously copies the data intersecting the line and the subvolume into an application buffer.int
SoLDMDataAccess. requestData(int resolution, SbBox3i32 subVolume, SbPlane plane, SoBufferObject bufferObj)
Given a subvolume in voxel coordinates and a plane, asynchronously copies the data intersecting the plane and the subvolume into an application buffer.int
SoLDMDataAccess. requestData(int resolution, SbBox3i32 subVolume0, SbVec2i32 coord, SoBufferObject bufferObj)
Data values in a single seismic trace (a row of voxels along the volume X axis) are asynchronously copied into an application buffer.int
SoLDMDataAccess. requestData(int resolution, SbBox3i32 subVolume, SbVec3i32[] polyline, SoBufferObject bufferObj)
Given a subvolume in voxel coordinates and a stack of line, asynchronously copies the data intersecting each line and the subvolume into an application buffer. -
Uses of SoBufferObject in com.openinventor.ldm.converters
Methods in com.openinventor.ldm.converters with parameters of type SoBufferObject Modifier and Type Method Description int
SoLDMWriter. writeSubVolume(SbBox3i32 subVolume, SoBufferObject data)
Calls writeSubVolume(subVolume, data, true, true).int
SoLDMWriter. writeSubVolume(SbBox3i32 subVolume, SoBufferObject data, boolean doLowerResolution)
Calls writeSubVolume(subVolume, data, doLowerResolution, true).int
SoLDMWriter. writeSubVolume(SbBox3i32 subVolume, SoBufferObject data, boolean doLowerResolution, boolean doOverlappingTiles)
Writes the data contained in the specified subVolume into the LDM file.int
SoLDMWriter. writeTile(SbVec3i32 location, SoBufferObject data)
Calls writeTile(location, data, (int)0).int
SoLDMWriter. writeTile(SbVec3i32 location, SoBufferObject data, int resolution)
Writes the tile which includes location in data coordinates, at the specified resolution level, into the LDM file.int
SoLDMWriter. writeTile(SoLDMTileID tileID, SoBufferObject data)
Writes the specified tile tileID into the LDM file. -
Uses of SoBufferObject in com.openinventor.ldm.nodes
Methods in com.openinventor.ldm.nodes with parameters of type SoBufferObject Modifier and Type Method Description int[]
SoDataCompositor. compose(int numDataSet, SbVec3i32 tileDimension, SoBufferObject[] inputBuffer, SoBufferObject outputBuffer)
The compose method can be overridden in a subclass to specify a custom composition.int
SoDataSet. editSubVolume(SbBox3i32 subVolume, SoBufferObject userData)
Replaces the contents of a subvolume with the given data.int
SoDataSet. editTile(SoLDMTileID tileId, SoBufferObject userData)
Replaces the contents of a tile with the given data.void
SoDataSet. readTile(SoLDMTileID tileID, SoBufferObject buffer, boolean transform)
Copies the specified tile into the provided buffer.void
SoLDMDataTransform. transformFunction(SoDataSet ds, SbVec3i32 bufferDimension, SoBufferObject bufferToTransform, SbBox3i32 dataBox, int resolutionLevel)
Data transform function.void
SoDataSet. useFakeData(SoLDMTileID name_10598, SoBufferObject name_10599)
Creates fake data in buffer.void
SoDataSet. writeTile(SoLDMTileID tileID, SoBufferObject buffer, SoVolumeWriter writer)
Write the specified tile using the specified writer. -
Uses of SoBufferObject in com.openinventor.ldm.readers
Methods in com.openinventor.ldm.readers that return SoBufferObject Modifier and Type Method Description SoBufferObject
SoVolumeReader. readTile(int index, SbBox3i32 tilePosition)
Given an index, reads a tile if the data is organized in tiles (for LDM).Methods in com.openinventor.ldm.readers with parameters of type SoBufferObject Modifier and Type Method Description void
SoVolumeReader. getSubSlice(SbBox2i32 subSlice, int sliceNumber, SoBufferObject dataBuffer)
This method is called by Open Inventor during an LDM conversion or during volume loading.boolean
SoVolumeReader. readTile(int index, SoBufferObject buffer, SbBox3i32 tilePosition)
Deprecated.As of Open Inventor 8.5.0.0. -
Uses of SoBufferObject in com.openinventor.ldm.tiles
Subclasses of SoBufferObject in com.openinventor.ldm.tiles Modifier and Type Class Description class
SoCpuBufferAsyncBasicProperty
LDM buffer object handling basic LDM tile information and implementing asynchronous buffer interface.class
SoCpuBufferBasicProperty
LDM buffer object handling basic LDM tile information.class
SoCpuBufferBitSet
LDM buffer object optimized for bitset tile data.class
SoCpuBufferCompressed
LDM buffer object optimized for compressed tile data.class
SoCpuBufferFromVolumeReader
LDM buffer object optimized for in memory reader tile data.class
SoCpuBufferUniform
LDM buffer object optimized for uniform (single value) tile data. -
Uses of SoBufferObject in com.openinventor.ldm.writers
Methods in com.openinventor.ldm.writers with parameters of type SoBufferObject Modifier and Type Method Description boolean
SoVolumeWriter. writeSubSlice(int sliceIndex, SbBox2i32 subSlice, SoBufferObject buffer)
Writes the data contained in the specified subslice.boolean
SoVolumeWriter. writeTile(SoLDMTileID tileId, SoBufferObject buffer)
Given a tileID, writes a tile if the data is organized in tiles (seeSoLDMTileID
). -
Uses of SoBufferObject in com.openinventor.volumeviz.nodes
Methods in com.openinventor.volumeviz.nodes that return SoBufferObject Modifier and Type Method Description SoBufferObject
SoVolumeTransform. getFromCache(SoLDMTileID tileID)
Returns the previously transformed data for a specific tile.Methods in com.openinventor.volumeviz.nodes with parameters of type SoBufferObject Modifier and Type Method Description void
SoVolumeTransform. addInCache(SoLDMTileID tileID, SoBufferObject bufferObject)
Add the transformed data for a specific tile to the cache.int
SoVolumeData. editSubVolume(SbBox3i32 subVolume, SoBufferObject userData)
Replaces the contents of a subvolume with the given data.int
SoVolumeMask. editSubVolume(SbBox3i32 subVolume, SoBufferObject userData)
Replace the contents of a subvolume with the given data.int
SoVolumeData. editTile(SoLDMTileID tileId, SoBufferObject userData)
Replaces the contents of a tile with the given data.void
SoVolumeData. useFakeData(SoLDMTileID name_24949, SoBufferObject name_24950)
Creates fake data in buffer. -
Uses of SoBufferObject in com.openinventor.volumeviz.readers
Methods in com.openinventor.volumeviz.readers with parameters of type SoBufferObject Modifier and Type Method Description void
SoVRMemoryReader. setProperties(SbBox3f size, SoDataSet.DataTypes type, SbVec3i32 dim, SoBufferObject internalData, int sigBits)
Sets properties of the reader.void
SoVRMemoryReader. setProperties(SbBox3f size, SoDataSet.DataTypes type, SbVec3i32 dim, SbVec2i32 padding, SoBufferObject internalData, int sigBits)
Sets properties of the reader.void
SoVRMemoryReader. setProperties(SbBox3f size, SoDataSet.DataTypes type, SbVec3s dim, SoBufferObject internalData)
Calls setProperties(size, type, dim, internalData, (int)0).void
SoVRMemoryReader. setProperties(SbBox3f size, SoDataSet.DataTypes type, SbVec3s dim, SoBufferObject internalData, int sigBits)
Sets properties of the reader. -
Uses of SoBufferObject in com.openinventor.volumeviz.readers.dicom
Methods in com.openinventor.volumeviz.readers.dicom with parameters of type SoBufferObject Modifier and Type Method Description void
SiDicomValue. getBuffer(SoBufferObject buffer)
Copies the internal buffer to the given one.boolean
SiDicomDataSet. getElementBufferValue(SoDicomTag tag, SoBufferObject buffer)
Shortcut to extract an element's buffer value.
-