/* This file is part of the source code for 3D-XplorMath-J, Version 1.0 (January 2008). * Copyright (c) 2008 The 3D-XplorMath Consortium (http://3d-xplormath.org). * This source code is released under a BSD License, which allows redistribution * in source and binary form, with or without modification, provided copyright * and license information are included, and with no warranty or guarantee of * any kind. For details, see http://3d-xplormath.org/j/source/BSDLicense.txt */ package vmm.core3D.render; import java.awt.Color; import vmm.core.render.Renderer2D; import vmm.core3D.Grid3D; import vmm.core3D.Vector3D; public interface Renderer3D extends Renderer2D { public void drawPixel(Vector3D v); public void drawDot(Vector3D pt, double diameter); public void drawPixels(Vector3D[] vlist); public void drawLine(Vector3D v1, Vector3D v2); public void drawString(String str, Vector3D basepoint); public void drawCurve(Vector3D[] points, int startIndex, int endIndex); public void drawCollaredCurve(Vector3D[] points, int startIndex, int endIndex, boolean reversed); public void drawWireframeSurface(Grid3D surfaceData); public void drawSurface(Grid3D surfaceData, double startPercent, double endPercent); public void fillPolygon(Vector3D[] vertices, Color outlineColor); public boolean clip(Vector3D objectPoint); }