Package de.javagl.ply
Interface PlyTarget
-
- All Known Implementing Classes:
AbstractPlyTarget,ObjectPlyTarget
public interface PlyTargetInterface for all classes that may receive information about PLY data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendElement(int elementTypeIndex, int elementIndex)Will be called to indicate that the specified element was finished, and allhandle...Propertycalls for that element have been made.voidendElementList(int elementTypeIndex)Will be called to indicate that the sequence of calls to handle the specified sequence of elements is finished.voidhandleCharListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, byte[] value)Will be called to handle the specified property of the specified element.voidhandleCharProperty(int elementTypeIndex, int elementIndex, int propertyIndex, byte value)Will be called to handle the specified property of the specified element.voidhandleDoubleListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, double[] value)Will be called to handle the specified property of the specified element.voidhandleDoubleProperty(int elementTypeIndex, int elementIndex, int propertyIndex, double value)Will be called to handle the specified property of the specified element.voidhandleFloatListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, float[] value)Will be called to handle the specified property of the specified element.voidhandleFloatProperty(int elementTypeIndex, int elementIndex, int propertyIndex, float value)Will be called to handle the specified property of the specified element.voidhandleIntListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, int[] value)Will be called to handle the specified property of the specified element.voidhandleIntProperty(int elementTypeIndex, int elementIndex, int propertyIndex, int value)Will be called to handle the specified property of the specified element.voidhandleShortListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, short[] value)Will be called to handle the specified property of the specified element.voidhandleShortProperty(int elementTypeIndex, int elementIndex, int propertyIndex, short value)Will be called to handle the specified property of the specified element.voidsetDescriptor(Descriptor descriptor)Will receive theDescriptorfor the PLY data.voidstartElement(int elementTypeIndex, int elementIndex)Will be called to indicate the start of the specified element.voidstartElementList(int elementTypeIndex, int elementCount)Will be called to indicate the start of a list of elements.
-
-
-
Method Detail
-
setDescriptor
void setDescriptor(Descriptor descriptor)
Will receive theDescriptorfor the PLY data. This will be called once, at the beginning of the process. It may be used to initialize internal data structures based on the givenDescriptor.- Parameters:
descriptor- TheDescriptor
-
startElementList
void startElementList(int elementTypeIndex, int elementCount)Will be called to indicate the start of a list of elements. It will be followed by calls that reflect a sequence of elements. Each element will be represented by callsstartElement(int, int)handle...Propertyfor all the element propertiesendElement(int, int)
- Parameters:
elementTypeIndex- The element type indexelementCount- The number of elements that will follow
-
startElement
void startElement(int elementTypeIndex, int elementIndex)Will be called to indicate the start of the specified element. It will be followed by a sequence of calls tohandle...Propertyfor all the element properties.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the element
-
handleCharProperty
void handleCharProperty(int elementTypeIndex, int elementIndex, int propertyIndex, byte value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleShortProperty
void handleShortProperty(int elementTypeIndex, int elementIndex, int propertyIndex, short value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleIntProperty
void handleIntProperty(int elementTypeIndex, int elementIndex, int propertyIndex, int value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleFloatProperty
void handleFloatProperty(int elementTypeIndex, int elementIndex, int propertyIndex, float value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleDoubleProperty
void handleDoubleProperty(int elementTypeIndex, int elementIndex, int propertyIndex, double value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleCharListProperty
void handleCharListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, byte[] value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleShortListProperty
void handleShortListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, short[] value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleIntListProperty
void handleIntListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, int[] value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleFloatListProperty
void handleFloatListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, float[] value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
handleDoubleListProperty
void handleDoubleListProperty(int elementTypeIndex, int elementIndex, int propertyIndex, double[] value)Will be called to handle the specified property of the specified element.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the elementpropertyIndex- The index of the propertyvalue- The value of the property
-
endElement
void endElement(int elementTypeIndex, int elementIndex)Will be called to indicate that the specified element was finished, and allhandle...Propertycalls for that element have been made.- Parameters:
elementTypeIndex- The element type indexelementIndex- The index of the element
-
endElementList
void endElementList(int elementTypeIndex)
Will be called to indicate that the sequence of calls to handle the specified sequence of elements is finished.- Parameters:
elementTypeIndex- The element type index
-
-