Java Doc for PDSampledFunction.java in  » PDF » jPod » de » intarsys » pdf » pd » 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 » PDF » jPod » de.intarsys.pdf.pd 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.intarsys.pdf.pd.PDObject
   de.intarsys.pdf.pd.PDFunction
      de.intarsys.pdf.pd.PDSampledFunction

PDSampledFunction
public class PDSampledFunction extends PDFunction (Code)
Function implementation based on samples.

Inner Class :public static class MetaClass extends PDFunction.MetaClass

Field Summary
final public static  COSNameDK_BitsPerSample
    
final public static  COSNameDK_Decode
    
final public static  COSNameDK_Encode
    
final public static  COSNameDK_Order
    
final public static  COSNameDK_Size
    
final public static  MetaClassMETA
    

Constructor Summary
protected  PDSampledFunction(COSObject object)
     PDSampledFunction constructor.

Method Summary
public  COSArraycosGetDecode()
     Return the Decode value array.
public  COSDictionarycosGetDict()
    
public  COSArraycosGetEncode()
    
public  float[]evaluate(float[] input)
     Evaluate the function for each of the input values in turn.
protected  voidevaluate(float[] input, float[] output)
    
public  intgetBitsPerSample()
     Return the BitsPerSample value.
public  floatgetDecodeMax(int dimension)
     Return the max value of the Decode array for the given dimension.
public  floatgetDecodeMin(int dimension)
     Return the min value of the Decode array for the given dimension.
public  floatgetEncodeMax(int dimension)
     Return the max value of the Encode array for the given dimension.
public  floatgetEncodeMin(int dimension)
     Return the min value of the Encode array for the given dimension.
public  intgetOutputSize()
     Return the number of output values for one input value.
protected  intgetSample(int bitPos)
     Return the sample from the sample stream for the given bit position.
protected  byte[]getSamples()
     Return the decoded contents of the sample stream.
public  COSArraygetSize()
     Return the Size value array.
public  intgetSize(int dimension)
     Return the size value for the given dimension.
protected  floatinterpolate(float x, float xmin, float xmax, float ymin, float ymax)
    
protected  voidlookupInSample(float[] input, float[] output)
    
protected  voidprepareInput(float[] values, float[] intermediate)
    
protected  voidprepareOutput(float[] values)
    

Field Detail
DK_BitsPerSample
final public static COSName DK_BitsPerSample(Code)



DK_Decode
final public static COSName DK_Decode(Code)



DK_Encode
final public static COSName DK_Encode(Code)



DK_Order
final public static COSName DK_Order(Code)



DK_Size
final public static COSName DK_Size(Code)



META
final public static MetaClass META(Code)
The meta class instance




Constructor Detail
PDSampledFunction
protected PDSampledFunction(COSObject object)(Code)
PDSampledFunction constructor.
Parameters:
  object - the COS object to base this COS based PD object on




Method Detail
cosGetDecode
public COSArray cosGetDecode()(Code)
Return the Decode value array. the Decode value array



cosGetDict
public COSDictionary cosGetDict()(Code)



cosGetEncode
public COSArray cosGetEncode()(Code)
Return the Encode value array the Encode value array



evaluate
public float[] evaluate(float[] input)(Code)
Evaluate the function for each of the input values in turn. The output values are stored in an array and returned.
Parameters:
  input - input values to evaluate an array of output values



evaluate
protected void evaluate(float[] input, float[] output)(Code)



getBitsPerSample
public int getBitsPerSample()(Code)
Return the BitsPerSample value. the BitsPerSample value



getDecodeMax
public float getDecodeMax(int dimension)(Code)
Return the max value of the Decode array for the given dimension.
Parameters:
  dimension - the dimension to get the max value for the max value of the Decode array for the given dimension



getDecodeMin
public float getDecodeMin(int dimension)(Code)
Return the min value of the Decode array for the given dimension.
Parameters:
  dimension - the dimension to get the min value for the min value of the Decode array for the given dimension



getEncodeMax
public float getEncodeMax(int dimension)(Code)
Return the max value of the Encode array for the given dimension.
Parameters:
  dimension - the dimension to get the max value for the max value of the Encode array for the given dimension



getEncodeMin
public float getEncodeMin(int dimension)(Code)
Return the min value of the Encode array for the given dimension.
Parameters:
  dimension - the dimension to get the min value for the min value of the Encode array for the given dimension



getOutputSize
public int getOutputSize()(Code)
Return the number of output values for one input value. the number of output values for one input value



getSample
protected int getSample(int bitPos)(Code)
Return the sample from the sample stream for the given bit position.
Parameters:
  bitPos - the bit position to get the smaple for the sample from the sample stream for the given bit position



getSamples
protected byte[] getSamples()(Code)
Return the decoded contents of the sample stream. the decoded contents of the sample stream



getSize
public COSArray getSize()(Code)
Return the Size value array. the Size value array



getSize
public int getSize(int dimension)(Code)
Return the size value for the given dimension.
Parameters:
  dimension - the dimension to get the size value for the size value for the given dimension



interpolate
protected float interpolate(float x, float xmin, float xmax, float ymin, float ymax)(Code)



lookupInSample
protected void lookupInSample(float[] input, float[] output)(Code)



prepareInput
protected void prepareInput(float[] values, float[] intermediate)(Code)



prepareOutput
protected void prepareOutput(float[] values)(Code)



Fields inherited from de.intarsys.pdf.pd.PDFunction
final public static COSName DK_Domain(Code)(Java Doc)
final public static COSName DK_FunctionType(Code)(Java Doc)
final public static COSName DK_Range(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.pd.PDFunction
protected float clip(float x, float min, float max)(Code)(Java Doc)
public COSArray cosGetDomain()(Code)(Java Doc)
protected float[] dummyResult()(Code)(Java Doc)
abstract public float[] evaluate(float[] values)(Code)(Java Doc)
public float getDomainMax(int dimension)(Code)(Java Doc)
public float getDomainMin(int dimension)(Code)(Java Doc)
public int getInputSize()(Code)(Java Doc)
abstract public int getOutputSize()(Code)(Java Doc)
public COSArray getRange()(Code)(Java Doc)
public float getRangeMax(int dimension)(Code)(Java Doc)
public float getRangeMin(int dimension)(Code)(Java Doc)

Fields inherited from de.intarsys.pdf.pd.PDObject
final public static COSName DK_Subtype(Code)(Java Doc)
final public static COSName DK_Type(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.pd.PDObject
protected COSName cosGetExpectedSubtype()(Code)(Java Doc)
protected COSName cosGetExpectedType()(Code)(Java Doc)
public COSObject cosGetFieldDescendant(COSName name)(Code)(Java Doc)
public COSObject cosGetFieldInheritable(COSName name)(Code)(Java Doc)
public COSObject cosGetFieldInherited(COSName name)(Code)(Java Doc)
final public COSName cosGetSubtype()(Code)(Java Doc)
final public COSName cosGetType()(Code)(Java Doc)
public COSObject cosRemoveFieldInheritable(COSName name)(Code)(Java Doc)
public COSObject cosSetFieldInheritable(COSName name, COSObject cosObj)(Code)(Java Doc)
final public COSName cosSetSubtype(COSName newType)(Code)(Java Doc)
final public COSName cosSetType(COSName newType)(Code)(Java Doc)
public PDDocument getDoc()(Code)(Java Doc)
public List getGenericChildren()(Code)(Java Doc)
public PDObject getGenericParent()(Code)(Java Doc)
protected List getPDObjects(COSName key, COSBasedObject.MetaClass metaclass, boolean addListener)(Code)(Java Doc)
protected void initializeFromScratch()(Code)(Java Doc)
public void setGenericParent(PDObject parent)(Code)(Java Doc)
protected void setPDObjects(COSName key, List list)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.