java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.AAM.CVisRGBA

public class CVisRGBA extends Object
* AAM-API LICENSE - file: license.txt This software is freely available for non-commercial use such as research and education. Please see the full disclaimer below. All publications describing work using this software should cite the reference given below. Copyright (c) 2000-2003 Mikkel B. Stegmann, mbs@imm.dtu.dk IMM, Informatics invalid input: '&' Mathematical Modelling DTU, Technical University of Denmark Richard Petersens Plads, Building 321 DK-2800 Lyngby, Denmark http://www.imm.dtu.dk/~aam/ REFERENCES Please use the reference below, when writing articles, reports etc. where the AAM-API has been used. A draft version the article is available from the homepage. I will be happy to receive pre- or reprints of such articles. /Mikkel ------------- M. B. Stegmann, B. K. Ersboll, R. Larsen, "FAME -- A Flexible Appearance Modelling Environment", IEEE Transactions on Medical Imaging, IEEE, 2003 (to appear) ------------- 3RD PART SOFTWARE The software is partly based on the following libraries: - The Microsoft(tm) Vision Software Developers Kit, VisSDK - LAPACK DISCLAIMER This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any non-commercial purpose, and to alter it, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. -- No guarantees of performance accompany this software, nor is any responsibility assumed on the part of the author or IMM. This software is provided by Mikkel B. Stegmann and IMM ``as is'' and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall IMM or Mikkel B. Stegmann be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. $Revision: 1.4 $ $Date: 2003/04/23 14:49:15 $ class CVisRGBA Object containing red, green, blue, and alpha values. Used as pixels in color images. (This class also includes standard arithmetic operators that are not listed in this documentation.) Java modification from the CVisRGBA.cpp file. The type of numbers used to store the red, green, blue, and alpha values.
Author:
Ruida Cheng
  • Field Details

    • m_numB

      protected byte m_numB
    • m_numG

      protected byte m_numG
    • m_numR

      protected byte m_numR
    • m_numA

      protected byte m_numA
  • Constructor Details

    • CVisRGBA

      public CVisRGBA()
    • CVisRGBA

      public CVisRGBA(byte num)
    • CVisRGBA

      public CVisRGBA(CVisRGBA refrgba)
    • CVisRGBA

      public CVisRGBA(byte numR, byte numG, byte numB)
    • CVisRGBA

      public CVisRGBA(byte numR, byte numG, byte numB, byte numA)
  • Method Details

    • assign

      public CVisRGBA assign(CVisRGBA refrgba)
    • assign

      public CVisRGBA assign(byte num)
    • equals

      public boolean equals(CVisRGBA refrgba)
    • notequals

      public boolean notequals(CVisRGBA refrgba)
    • SetR

      public void SetR(byte num)
    • SetG

      public void SetG(byte num)
    • SetB

      public void SetB(byte num)
    • SetA

      public void SetA(byte num)
    • SetRGB

      public void SetRGB(byte numR, byte numG, byte numB)
    • SetRGBA

      public void SetRGBA(byte numR, byte numG, byte numB, byte numA)
    • add_into

      public CVisRGBA add_into(byte num)
    • add_into

      public CVisRGBA add_into(CVisRGBA refrgba)
    • sub_into

      public CVisRGBA sub_into(byte num)
    • sub_into

      public CVisRGBA sub_into(CVisRGBA refrgba)
    • mult_into

      public CVisRGBA mult_into(int i)
    • mult_into

      public CVisRGBA mult_into(long l)
    • mult_into

      public CVisRGBA mult_into(float flt)
    • mult_into

      public CVisRGBA mult_into(double dbl)
    • div_into

      public CVisRGBA div_into(int i)
    • div_into

      public CVisRGBA div_into(long l)
    • div_into

      public CVisRGBA div_into(float flt)
    • div_into

      public CVisRGBA div_into(double dbl)
    • add

      public CVisRGBA add(CVisRGBA refrgba1, CVisRGBA refrgba2)
    • sub

      public CVisRGBA sub(CVisRGBA refrgba1, CVisRGBA refrgba2)
    • mult

      public CVisRGBA mult(CVisRGBA refrgba, int i)
    • mult

      public CVisRGBA mult(CVisRGBA refrgba, long l)
    • mult

      public CVisRGBA mult(CVisRGBA refrgba, float flt)
    • mult

      public CVisRGBA mult(CVisRGBA refrgba, double dbl)
    • mult

      public CVisRGBA mult(int i, CVisRGBA refrgba)
    • mult

      public CVisRGBA mult(long l, CVisRGBA refrgba)
    • mult

      public CVisRGBA mult(float flt, CVisRGBA refrgba)
    • mult

      public CVisRGBA mult(double dbl, CVisRGBA refrgba)
    • div

      public CVisRGBA div(CVisRGBA refrgba, int i)
    • div

      public CVisRGBA div(CVisRGBA refrgba, long l)
    • div

      public CVisRGBA div(CVisRGBA refrgba, float flt)
    • div

      public CVisRGBA div(CVisRGBA refrgba, double dbl)
    • R

      public byte R()
    • G

      public byte G()
    • B

      public byte B()
    • A

      public byte A()