Logo Search packages:      
Sourcecode: javamorph version File versions  Download package

javamorph::CFrame::CFrame ( CMain  parent,
Vector< Point >  mesh,
Vector< Point >  polygon,
BufferedImage  image,
double  clip[][],
File  f_mesh,
File  f_polygon,
File  f_clip 
) [inline]

Constructor.

Parameters:
parent Main JFrame.
mesh Picture's mesh.
polygon Clip polygon points.
image Picture itself.
clip Smoothed clip matrix.
f_mesh File to store to mesh to.
f_polygon File to store the polygon to.
f_clip File to debug the smoothed clip matrix to.

Definition at line 69 of file CFrame.java.

References dmesh, dpicture, dpolygon, and dpopup.

                        {
        /* Assign the arguments. */
        this.parent = parent;
        this.mesh = mesh;
        this.polygon = polygon;
        this.image = image;
        this.clip = clip;
        this.f_clip = f_clip;
        /* Init decorators. */
        dpolygon = 
            new CPolygonDecorator(this, polygon, image, f_polygon, clip, f_clip);
        dmesh = new CMeshDecorator(this, mesh, image, f_mesh);
        dpopup = new CPopupMenuDecorator(this);
        dpicture = new CPictureDecorator(this, image);
        /* Set color. */
        setBackground(CFrame.BACKGROUND);
        /* Set crosshair cursor. */
        setCursor(new Cursor(Cursor.CROSSHAIR_CURSOR));
    }


Generated by  Doxygen 1.6.0   Back to index