Class AutomaticLOD
- java.lang.Object
-
- org.nuxeo.ecm.platform.threed.service.AutomaticLOD
-
- All Implemented Interfaces:
Comparable<AutomaticLOD>
public class AutomaticLOD extends Object implements Comparable<AutomaticLOD>
Object representing a registered automatic level of detail conversion on theThreeDService
. AnAutomaticLOD
references the percentage of mesh polygons through its percentage.- Since:
- 8.4
-
-
Constructor Summary
Constructors Constructor Description AutomaticLOD()
AutomaticLOD(AutomaticLOD other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AutomaticLOD o)
String
getId()
Long
getMaxPoly()
String
getMaxTex()
String
getName()
Integer
getOrder()
Integer
getPercPoly()
Integer
getPercTex()
boolean
isEnabled()
boolean
isRendition()
boolean
isRenditionVisible()
void
merge(AutomaticLOD src)
void
setEnabled(boolean enabled)
void
setMaxPoly(Long maxPoly)
void
setMaxTex(String maxTex)
void
setName(String name)
void
setOrder(Integer order)
void
setPercPoly(Integer percPoly)
void
setPercTex(Integer percTex)
void
setRendition(boolean rendition)
void
setRenditionVisible(boolean renditionVisible)
-
-
-
Field Detail
-
order
protected Integer order
-
name
protected String name
-
percPoly
protected Integer percPoly
-
maxPoly
protected Long maxPoly
-
percTex
protected Integer percTex
-
maxTex
protected String maxTex
-
enabled
protected Boolean enabled
-
rendition
protected Boolean rendition
-
renditionVisible
protected Boolean renditionVisible
-
-
Constructor Detail
-
AutomaticLOD
public AutomaticLOD(AutomaticLOD other)
-
AutomaticLOD
public AutomaticLOD()
-
-
Method Detail
-
getOrder
public Integer getOrder()
-
setOrder
public void setOrder(Integer order)
-
getName
public String getName()
-
setName
public void setName(String name)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getPercPoly
public Integer getPercPoly()
-
setPercPoly
public void setPercPoly(Integer percPoly)
-
getMaxPoly
public Long getMaxPoly()
-
setMaxPoly
public void setMaxPoly(Long maxPoly)
-
getPercTex
public Integer getPercTex()
-
setPercTex
public void setPercTex(Integer percTex)
-
getMaxTex
public String getMaxTex()
-
setMaxTex
public void setMaxTex(String maxTex)
-
isRendition
public boolean isRendition()
-
setRendition
public void setRendition(boolean rendition)
-
isRenditionVisible
public boolean isRenditionVisible()
-
setRenditionVisible
public void setRenditionVisible(boolean renditionVisible)
-
getId
public String getId()
-
compareTo
public int compareTo(AutomaticLOD o)
- Specified by:
compareTo
in interfaceComparable<AutomaticLOD>
-
merge
public void merge(AutomaticLOD src)
-
-