![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Member Functions | |
override void | Init () |
override void | CreatePoints () |
![]() | |
void | ShowHide () |
void | Clear () |
Private Attributes | |
float | minDepth = float.MaxValue |
float | depthAmplitude |
ReadDX | readDx |
Additional Inherited Members | |
![]() | |
int | pNumber |
![]() | |
static float | particleScale = 2.5f |
![]() | |
void | AlphaCulling (float cull) |
void | BuildParticleArray () |
void | SetParticleSystem () |
![]() | |
float | ALPHA_THRESHOLD = 0.05f |
bool | raise = false |
float | ALPHA_FACTOR = 7f |
float[,,] | density |
ParticleSystem.Particle[] | points |
List< ParticleSystem.Particle > | dynPoints = new List<ParticleSystem.Particle>() |
![]() | |
static Vector3 | delta |
static Vector3 | origin = MoleculeModel.MinValue |
Definition at line 6 of file VolumetricDepth.cs.
|
virtual |
Creates the points for this particle system.
More precisely, it fills the dynamic list called dynPoints with particles of the right color, transparency and position. This list is raw, i.e. it contains one particle for each point of the grid. Therefore, it is typically very large.
Implements Volumetric.
Definition at line 48 of file VolumetricDepth.cs.
References Volumetric.ALPHA_FACTOR, Volumetric.ALPHA_THRESHOLD, Volumetric.delta, Volumetric.density, Volumetric.dynPoints, and Volumetric.origin.
|
virtual |
Initializes this instance.
To be called whenever you wish to create a particle system for volumetric rendering.
Implements Volumetric.
Definition at line 14 of file VolumetricDepth.cs.
References ReadDX._grid, Volumetric.delta, Volumetric.density, ReadDX.GetDelta(), ReadDX.GetOrigin(), Volumetric.origin, ElectrostaticManager.readdx, and Volumetric.SetParticleSystem().
Referenced by AdvancedOptionsOldGUI.AdvOptions().
|
private |
Definition at line 9 of file VolumetricDepth.cs.
|
private |
Definition at line 8 of file VolumetricDepth.cs.
|
private |
Definition at line 11 of file VolumetricDepth.cs.