Defines class ParticleLayout.
void setParticlePosition(R3 position)
Sets relative position of the particle's reference point in the coordinate system of parent.
IParticle * rotate(const IRotation &rotation)
Rotates the particle, and returns this.
void setRotation(const IRotation &rotation)
Sets transformation.
Decorator class that adds particles to ISampleNode objects.
void addParticle(const IParticle &particle, double abundance=-1.0)
Adds particle to the layout with abundance, position and the rotation defined.
A particle with a form factor and refractive index.