|
virtual const Source * | getSourceA () const |
| Gets the first operator source. More...
|
|
virtual const Source * | getSourceB (void) const |
| Gets the second operator source. More...
|
|
virtual void | setSourceA (Source *a) |
| Sets the first operator source. More...
|
|
virtual void | setSourceB (Source *b) |
| Sets the second operator source. More...
|
|
virtual | ~Source (void) |
| Destructor. More...
|
|
bool | getFirstRayIntersection (const Ray &ray, Vector3 &result, Real scale=(Real) 1.0, size_t maxIterations=5000, Real maxDistance=(Real) 10000.0) const |
| Gets the first intersection of a ray with the volume. More...
|
|
virtual Real | getValue (const Vector3 &position) const =0 |
| Gets the density value at a specific position. More...
|
|
virtual Vector4 | getValueAndGradient (const Vector3 &position) const =0 |
| Gets the density value and gradient at a specific position. More...
|
|
Real | getVolumeSpaceToWorldSpaceFactor (void) const |
| Gets a factor to come from volume coordinate to world coordinate. More...
|
|
void | serialize (const Vector3 &from, const Vector3 &to, float voxelWidth, const String &file) |
| Serializes a volume source to a discrete grid file with deflated compression. More...
|
|
void | serialize (const Vector3 &from, const Vector3 &to, float voxelWidth, Real maxClampedAbsoluteDensity, const String &file) |
| Same as the other serialize function but with a user definable maximum absolute density value. More...
|
|
Abstract operation volume source holding two sources as operants.