Documentation of 'jvx.volume.PwTex2Cubes' Java class
PwTex2Cubes ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.volume

Class PwTex2Cubes

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf, PjWorkshopIf


    public class PwTex2Cubes
    extends PjWorkshop
    Tex2Cubes Workshop.
    See Also:
    Serialized Form
    Author:
    Matthias Nieser
    Version:
    09.03.15, 2.00 revised (kp) Moved to jvx.volume from dev.volume.
    01.06.2010, 1.00 created (mn)
    • Field Detail

      • m_polygonSet

        public PgPolygonSet m_polygonSet
        A Polygon Set to visualize the grid edges found in the texture data.
      • m_polygonSetCleaned

        public PgPolygonSet m_polygonSetCleaned
        Another Polygon Set to visualize the grid edges found in the texture data.
    • Constructor Detail

      • PwTex2Cubes

        public PwTex2Cubes()
        Construct a new PwTex2Cubes.
      • PwTex2Cubes

        public PwTex2Cubes(PgTetraSet geom)
        Construct a new PwTex2Cubes from a given geometry.
        Parameters:
        geom - Geometry to work on.
    • Method Detail

      • init

        public void init()
        Initializes the workshop.
        Overrides:
        init in class PjWorkshop
      • getName

        public java.lang.String getName()
        Get the name of the workshop.
        Specified by:
        getName in interface PsUpdateIf
        Overrides:
        getName in class PsObject
      • setTextures

        public void setTextures(PiVector[][] coords,
                                int quantization)
        Set quantized texture coordinates and quantization factor.
      • shiftTextures

        public void shiftTextures()
        Shift all texture coordinates by half quantization.
      • remesh

        public PgElementSet remesh()
        Creates a cube set from the texture coordinates.
      • setMatching

        public void setMatching(PiVector[][] matching)
        Set rotation information for transition between tetrahedra and their neighbours.
      • quantizeTexture

        public static PiVector[][] quantizeTexture(PdVector[][] tex,
                                                   int quantization)
        Quantize given texture coordinates to integer textures.
      • setTextures

        public void setTextures(PdVector[][] tex)
        Set double textures and quantize to integer by a default quantization.
      • readMatchingsFromField

        public void readMatchingsFromField()
        Import frame rotation information from Vector Field "matching". created from PgParamGeom3D.loadCache() method (ur).
      • remesh2

        public PgElementSet remesh2()
        Compute an elementSet containing the level surfaces of a 3D texture on a PgTetraSet.
        Author:
        Ulrich Reitebuch
        Version:
        26.08.10, 1.00 created (ur)
      • guessElements

        public static void guessElements(PgElementSet elementSet,
                                         PgPolygonSet polygonSet)
        Add elements to elementSet - these should build the level surfaces. In this method, elements are constructed from the edges given by m_polygonSet, quads and triangles in these edges are added.
        Author:
        Ulrich Reitebuch
        Version:
        03.09.10, 1.00 created (ur)
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

Ads help maintain this website.