Public Member Functions | Private Attributes | Static Private Attributes
edu.tum.cs.vis.model.util.Appearance Class Reference
Inheritance diagram for edu.tum.cs.vis.model.util.Appearance:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Appearance ()
 Appearance (final Appearance toCopy)
Color getColorFill ()
Color getColorLine ()
String getImageFileName ()
PImage getImageReference ()
int getStrokeWeight ()
void setColorFill (Color colorFill)
void setColorLine (Color colorLine)
void setImageFileName (String imageFileName)
void setImageReference (PImage imageReference)
void setStrokeWeight (int strokeWeight)

Private Attributes

Color colorFill
Color colorLine
String imageFileName
PImage imageReference
int strokeWeight

Static Private Attributes

static final long serialVersionUID = 3878380145216484383L

Detailed Description

Appearance of a triangle or a line. May contain texture or simply a color.

Author:
Stefan Profanter
Andrei Stoica - added copy constructor for copying appearances

Definition at line 22 of file Appearance.java.


Constructor & Destructor Documentation

Empty constructor for appearance objects

Definition at line 56 of file Appearance.java.

Copy constructor for the Appearance objects. Performs a deep copy of all the data fields from the passed object to the one called.

Parameters:
toCopyobject to copy to newly created instance

Definition at line 71 of file Appearance.java.


Member Function Documentation

Returns:
the colorFill

Definition at line 92 of file Appearance.java.

Returns:
the colorLine

Definition at line 99 of file Appearance.java.

Returns:
the imageFileName

Definition at line 106 of file Appearance.java.

Returns:
the imageReference

Definition at line 113 of file Appearance.java.

Returns:
the strokeWeight

Definition at line 120 of file Appearance.java.

void edu.tum.cs.vis.model.util.Appearance.setColorFill ( Color  colorFill) [inline]
Parameters:
colorFillthe colorFill to set

Definition at line 128 of file Appearance.java.

void edu.tum.cs.vis.model.util.Appearance.setColorLine ( Color  colorLine) [inline]
Parameters:
colorLinethe colorLine to set

Definition at line 136 of file Appearance.java.

void edu.tum.cs.vis.model.util.Appearance.setImageFileName ( String  imageFileName) [inline]
Parameters:
imageFileNamethe imageFileName to set

Definition at line 144 of file Appearance.java.

void edu.tum.cs.vis.model.util.Appearance.setImageReference ( PImage  imageReference) [inline]
Parameters:
imageReferencethe imageReference to set

Definition at line 152 of file Appearance.java.

void edu.tum.cs.vis.model.util.Appearance.setStrokeWeight ( int  strokeWeight) [inline]
Parameters:
strokeWeightthe strokeWeight to set

Definition at line 160 of file Appearance.java.


Member Data Documentation

the color of the Triangle if the Triangle has no texture Set to null if no fill needed

Definition at line 41 of file Appearance.java.

the color stroke for Triangle or Line Set to null if no stroke needed

Definition at line 46 of file Appearance.java.

the Filename of the texture-Image

Definition at line 31 of file Appearance.java.

an Object reference of a loaded image. Default is null.

Definition at line 36 of file Appearance.java.

final long edu.tum.cs.vis.model.util.Appearance.serialVersionUID = 3878380145216484383L [static, private]

auto generated

Definition at line 26 of file Appearance.java.

Thickness of the stroke

Definition at line 51 of file Appearance.java.


The documentation for this class was generated from the following file:


knowrob_cad_parser
Author(s): Stefan Profanter
autogenerated on Mon Oct 6 2014 01:29:56