Source Code Cross Referenced for WritableRandomIter.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » media » jai » iterator » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » javax.media.jai.iterator 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * $RCSfile: WritableRandomIter.java,v $
03:         *
04:         * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
05:         *
06:         * Use is subject to license terms.
07:         *
08:         * $Revision: 1.1 $
09:         * $Date: 2005/02/11 04:57:27 $
10:         * $State: Exp $
11:         */
12:        package javax.media.jai.iterator;
13:
14:        /**
15:         * An iterator that allows random read/write access to any sample
16:         * within its bounding rectangle.  This flexibility will generally
17:         * exact a corresponding price in speed and setup overhead.
18:         *
19:         * <p> The iterator is initialized with a particular rectangle as its
20:         * bounds, which it is illegal to exceed.  This initialization takes
21:         * place in a factory method and is not a part of the iterator
22:         * interface itself.
23:         *
24:         * <p> The setSample() and setPixel() methods allow individual source
25:         * samples and whole pixels to be written.
26:         *
27:         * <p> An instance of RandomIter may be obtained by means of the
28:         * RandomIterFactory.createWritable() method, which returns an
29:         * opaque object implementing this interface.
30:         *
31:         * @see RandomIter
32:         * @see RandomIterFactory
33:         */
34:        public interface WritableRandomIter extends RandomIter {
35:
36:            /**
37:             * Sets the specified sample of the image to an integral value.
38:             *
39:             * @param x the X coordinate of the pixel.
40:             * @param y the Y coordinate of the pixel.
41:             * @param b the band to be set.
42:             * @param s the sample's new integral value.
43:             */
44:            void setSample(int x, int y, int b, int s);
45:
46:            /**
47:             * Sets the specified sample of the image to a float value.
48:             *
49:             * @param x the X coordinate of the pixel.
50:             * @param y the Y coordinate of the pixel.
51:             * @param b the band to be set.
52:             * @param s the sample's new float value.
53:             */
54:            void setSample(int x, int y, int b, float s);
55:
56:            /**
57:             * Sets the specified sample of the image to a double value.
58:             *
59:             * @param x the X coordinate of the pixel.
60:             * @param y the Y coordinate of the pixel.
61:             * @param b the band to be set.
62:             * @param s the sample's new double value.
63:             */
64:            void setSample(int x, int y, int b, double s);
65:
66:            /**
67:             * Sets a pixel in the image using an int array of samples for input.
68:             *
69:             * @param x the X coordinate of the pixel.
70:             * @param y the Y coordinate of the pixel.
71:             * @param iArray the input samples in an int array.
72:             */
73:            void setPixel(int x, int y, int[] iArray);
74:
75:            /**
76:             * Sets a pixel in the image using a float array of samples for input.
77:             *
78:             * @param x the X coordinate of the pixel.
79:             * @param y the Y coordinate of the pixel.
80:             * @param iArray the input samples in a float array.
81:             */
82:            void setPixel(int x, int y, float[] fArray);
83:
84:            /**
85:             * Sets a pixel in the image using a float array of samples for input.
86:             *
87:             * @param x the X coordinate of the pixel.
88:             * @param y the Y coordinate of the pixel.
89:             * @param dArray the input samples in a double array.
90:             */
91:            void setPixel(int x, int y, double[] dArray);
92:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.