Module imp3d

Class VolumeBuilderBase

java.lang.Object
de.grogra.imp3d.VolumeBuilderBase
Direct Known Subclasses:
FluxVolumeBuilder, VolumeBuilder

public abstract class VolumeBuilderBase extends Object
A VolumeBuilderBase is used to build volumes.
Author:
Dietger van Antwerpen
See Also:
  • #VolumeBuilder
  • Field Details

  • Constructor Details

  • Method Details

    • getCurrentTransformation

      protected abstract Matrix4d getCurrentTransformation()
    • getTransformation

      protected Matrix4d getTransformation(Matrix4d t)
    • setInvTransformation

      public void setInvTransformation(TransformableVolume v, Matrix4d t, double dz)
    • buildParallelogram

      public Square buildParallelogram(float axis, Vector3f secondAxis, float scaleU, float scaleV, Matrix4d t)
    • buildPlane

      public HalfSpace buildPlane(Matrix4d t)
    • buildSphere

      public Sphere buildSphere(float radius, Matrix4d t)
    • buildSphereSegment

      public SphereSegmentSolid buildSphereSegment(float radius, float theta1, float theta2, float phi, Matrix4d t)
    • buildSupershape

      public Supershape buildSupershape(float a, float b, float m1, float n11, float n12, float n13, float m2, float n21, float n22, float n23, Matrix4d t)
    • buildBox

      public Cube buildBox(float halfWidth, float halfLength, float height, Matrix4d t)
    • buildLamella

      public Lamella buildLamella(float halfWidth, float halfLength, float height, float a, float b, Matrix4d t)
    • buildFrustum

      public Frustum buildFrustum(float height, float baseRadius, float topRadius, boolean baseClosed, boolean topClosed, float scaleV, Matrix4d t)
    • buildBaseFrustum

      public FrustumBase buildBaseFrustum(float height, float baseRadius, float topRadius, boolean baseClosed, boolean topClosed, float scaleV, Matrix4d t)
    • buildPolygons

      public MeshVolume buildPolygons(Polygonizable pz, Object obj, boolean asNode, Matrix4d t)