|
| OptiXModel (AnimationParameters &animationParameters, VolumeParameters &volumeParameters, GeometryParameters &geometryParameters, FieldParameters &fieldParameters) |
|
| ~OptiXModel () |
|
void | commitGeometry () final |
|
void | buildBoundingBox () final |
| Pure virtual function to build bounding box. More...
|
|
virtual MaterialPtr | createMaterialImpl (const PropertyMap &properties={}) final |
|
virtual SharedDataVolumePtr | createSharedDataVolume (const Vector3ui &dimensions, const Vector3f &spacing, const DataType type) final |
| Create a volume with the given dimensions, voxel spacing and data type where the voxels are set via setVoxels() from any memory location. More...
|
|
virtual BrickedVolumePtr | createBrickedVolume (const Vector3ui &dimensions, const Vector3f &spacing, const DataType type) final |
| Create a volume with the given dimensions, voxel spacing and data type where the voxels are copied via setBrick() into an optimized internal storage. More...
|
|
virtual FieldPtr | createField (const Vector3ui &dimensions, const Vector3f &spacing, const Vector3f &offset, const uint32_ts &indices, const floats &values, const OctreeDataType dataType) final |
| Create a computed field with the given dimensions, voxel spacing and data type. More...
|
|
::optix::GeometryGroup | getGeometryGroup () const |
|
::optix::GeometryGroup | getBoundingBoxGroup () const |
|
PLATFORM_API | Model (AnimationParameters &animationParameters, VolumeParameters &volumeParameters, GeometryParameters &geometryParameters, FieldParameters &fieldParameters) |
| Constructor for Model class. More...
|
|
virtual PLATFORM_API | ~Model () |
| Virtual destructor for Model class. More...
|
|
PLATFORM_API bool | commitTransferFunction () |
| Function to commit transfer function. More...
|
|
PLATFORM_API bool | commitSimulationData () |
| Function to commit simulation data. More...
|
|
PLATFORM_API MaterialPtr | createMaterial (const size_t materialId, const std::string &name, const PropertyMap &properties={}) |
| Factory method to create an engine-specific material. More...
|
|
PLATFORM_API bool | empty () const |
|
PLATFORM_API bool | isDirty () const |
|
PLATFORM_API const Boxd & | getBounds () const |
| Returns the bounds for the Model. More...
|
|
void | mergeBounds (const Boxd &bounds) |
| Merges model bounds with the given bounds. More...
|
|
PLATFORM_API const SpheresMap & | getSpheres () const |
| Returns spheres handled by the Model. More...
|
|
PLATFORM_API SpheresMap & | getSpheres () |
|
PLATFORM_API uint64_t | addSphere (const size_t materialId, const Sphere &sphere) |
| Adds a sphere to the model. More...
|
|
PLATFORM_API const CylindersMap & | getCylinders () const |
| Returns cylinders handled by the model. More...
|
|
PLATFORM_API CylindersMap & | getCylinders () |
|
PLATFORM_API uint64_t | addCylinder (const size_t materialId, const Cylinder &cylinder) |
| Adds a cylinder to the model. More...
|
|
PLATFORM_API const ConesMap & | getCones () const |
| Returns cones handled by the model. More...
|
|
PLATFORM_API ConesMap & | getCones () |
|
PLATFORM_API uint64_t | addCone (const size_t materialId, const Cone &cone) |
| Adds a cone to the model. More...
|
|
PLATFORM_API void | addStreamline (const size_t materialId, const Streamline &streamline) |
| Adds a streamline to the model. More...
|
|
PLATFORM_API const StreamlinesDataMap & | getStreamlines () const |
| Returns streamlines handled by the model. More...
|
|
PLATFORM_API StreamlinesDataMap & | getStreamlines () |
|
PLATFORM_API void | addCurve (const size_t materialId, const Curve &curve) |
| Adds a curve to the model. More...
|
|
PLATFORM_API const CurvesMap & | getCurves () const |
| Returns curves handled by the model. More...
|
|
PLATFORM_API CurvesMap & | getCurves () |
|
PLATFORM_API uint64_t | addSDFGeometry (const size_t materialId, const SDFGeometry &geom, const uint64_ts &neighbourIndices) |
| Adds an SDFGeometry to the scene. More...
|
|
PLATFORM_API const SDFGeometryData & | getSDFGeometryData () const |
| Returns SDF geometry data handled by the model. More...
|
|
PLATFORM_API SDFGeometryData & | getSDFGeometryData () |
|
PLATFORM_API void | updateSDFGeometryNeighbours (size_t geometryIdx, const uint64_ts &neighbourIndices) |
| Update the list of neighbours for an SDF geometry. More...
|
|
PLATFORM_API const TriangleMeshMap & | getTriangleMeshes () const |
|
PLATFORM_API TriangleMeshMap & | getTriangleMeshes () |
|
PLATFORM_API void | addVolume (const size_t materialId, VolumePtr) |
| Add a volume to the model. More...
|
|
PLATFORM_API void | addField (const size_t materialId, FieldPtr) |
| Add a field to the model. More...
|
|
PLATFORM_API void | removeVolume (const size_t materialId) |
| Remove a volume from the model. More...
|
|
PLATFORM_API void | logInformation () |
| Logs information about the model, like the number of primitives, and the associated memory footprint. More...
|
|
PLATFORM_API void | setMaterialsColorMap (const MaterialsColorMap colorMap) |
| Sets the materials handled by the model, and available to the geometry. More...
|
|
PLATFORM_API const MaterialMap & | getMaterials () const |
| Returns a reference to the map of materials handled by the model. More...
|
|
PLATFORM_API MaterialPtr | getMaterial (const size_t materialId) const |
| Returns a pointer to a specific material. More...
|
|
PLATFORM_API TransferFunction & | getTransferFunction () |
| Returns the transfer function used for volumes and simulations. More...
|
|
PLATFORM_API const TransferFunction & | getTransferFunction () const |
| Returns the transfer function used for volumes and simulations. More...
|
|
PLATFORM_API AbstractSimulationHandlerPtr | getSimulationHandler () const |
| Returns the simulation handler. More...
|
|
PLATFORM_API void | setSimulationHandler (AbstractSimulationHandlerPtr handler) |
| Sets the simulation handler. More...
|
|
PLATFORM_API size_t | getSizeInBytes () const |
| Returns the size in bytes of all geometries. More...
|
|
PLATFORM_API void | markInstancesDirty () |
| Marks the instances as dirty. More...
|
|
PLATFORM_API void | markInstancesClean () |
| Marks the instances as clean. More...
|
|
PLATFORM_API const VolumesMap & | getVolumes () const |
| Returns a const reference to the list of volumes. More...
|
|
PLATFORM_API bool | isVolumesDirty () const |
| Returns whether the volumes are dirty. More...
|
|
PLATFORM_API void | resetVolumesDirty () |
| Resets the dirty status of the volumes. More...
|
|
PLATFORM_API void | setBVHFlags (std::set< BVHFlag > bvhFlags) |
| Sets the BVH flags. More...
|
|
PLATFORM_API const std::set< BVHFlag > & | getBVHFlags () const |
| Gets the BVH flags. More...
|
|
PLATFORM_API void | updateBounds () |
| Updates the bounds of the geometries. More...
|
|
PLATFORM_API void | copyFrom (const Model &rhs) |
| Copies the model data from another model. More...
|
|
PLATFORM_API void | applyDefaultColormap () |
| Applies a default color map (rainbow) to the model. More...
|
|
Definition at line 39 of file OptiXModel.h.