|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpl.mipl.mars.viewer.util.RdrImageContentFactory
Purpose: Factory class for vending RdrImageContent objects. Supported special types: disp, xyz, rough, reach, normal, range. All other formats return the default type.
Copyright 2003, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledge. 2003.
============================================================================ Modification History : ---------------------- Date Who What ---------------------------------------------------------------------------- 08/27/2003 Nick Initial Release 12/05/2003 Nick Added Mask file type ============================================================================
Constructor Summary | |
RdrImageContentFactory()
|
Method Summary | |
static RdrImageContent |
create(String filename,
String type,
MarsImageViewModel model)
Factory method, returns an instance of RdrImageContent using the RDR type to determine the approrpiate subclass. |
protected static boolean |
isDispType(String type)
Disp type includes following types: DIS, DIL, DIT, DIN, DSS, DSL, DST, DSN, DLS, DLL, DLT, DLN. |
protected static boolean |
isMaskType(String type)
Mask type includes following types: MSK, MSL, MST, MSN. |
protected static boolean |
isNormalType(String type)
Normal type includes following types: UVW, UVL, UVT, UVN, UUU, UUL, UUT, UUN, VVV, VVL, VVT, VVN, WWW, WWL, WWT, WWN. |
protected static boolean |
isRangeType(String type)
Range type includes following types: RNG, RNL, RNT, RNN. |
protected static boolean |
isReachType(String type)
Reach type includes following types: IDD, IDL, IDT, IDN. |
protected static boolean |
isRoughType(String type)
Rough type includes following types: RUF, RUL, RUT, RUN. |
protected static boolean |
isXyzType(String type)
XYZ type includes following types: XYZ, XYL, XYT, XYN, XXX, XXL, XXT, XXN, YYY, YYL, YYT, YYN, ZZZ, ZZL, ZZT, ZZN. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RdrImageContentFactory()
Method Detail |
public static RdrImageContent create(String filename, String type, MarsImageViewModel model)
protected static boolean isXyzType(String type)
protected static boolean isRangeType(String type)
protected static boolean isDispType(String type)
protected static boolean isNormalType(String type)
protected static boolean isRoughType(String type)
protected static boolean isReachType(String type)
protected static boolean isMaskType(String type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |