|
| ON_SubDManagedMeshFragment () ON_NOEXCEPT |
|
| ON_SubDManagedMeshFragment (const ON_SubDManagedMeshFragment &) ON_NOEXCEPT |
|
| ~ON_SubDManagedMeshFragment () ON_NOEXCEPT |
|
void | Clear () ON_NOEXCEPT |
|
void | Destroy () ON_NOEXCEPT |
|
ON_SubDManagedMeshFragment & | operator= (const ON_SubDManagedMeshFragment &) ON_NOEXCEPT |
|
bool | ReserveCapacity (unsigned int mesh_density) ON_NOEXCEPT |
|
const ON_BoundingBox | BoundingBox (ON_SubDComponentLocation subd_appearance) const |
|
const ON_Plane | CenterFrame () const |
|
const ON_3dVector | CenterNormal () const |
|
const ON_3dPoint | CenterPoint () const |
|
const ON_3dPoint | CenterTextureCoordinate () const |
|
void | Clear () ON_NOEXCEPT |
| Clear all information except the memory management inforation. More...
|
|
void | ClearColors () const |
|
void | ClearControlNetQuad () |
|
void | ClearCurvatures () const |
|
void | ClearPackRect () |
|
void | ClearSurfaceBoundingBox () |
|
void | ClearTextureCoordinates () const |
|
const ON_Color * | ColorArray (ON_SubDComponentLocation subd_appearance) const |
|
unsigned | ColorArrayCount (ON_SubDComponentLocation subd_appearance) const |
|
size_t | ColorArrayStride (ON_SubDComponentLocation subd_appearance) const |
|
unsigned int | ColorCapacity () const |
|
unsigned int | ColorCount () const |
|
bool | ColorsExistForExperts () const |
|
const ON_BoundingBox | ControlNetQuadBoundingBox () const |
|
const ON_SubDMeshFragment | ControlNetQuadFragmentForExperts () const |
|
const ON_3dPoint | ControlNetQuadPoint (bool bGridOrder, unsigned point_index) const |
|
bool | CopyFrom (const ON_SubDMeshFragment &src_fragment) |
|
bool | CopyFrom (const ON_SubDMeshFragment &src_fragment, unsigned int display_density) |
|
const ON_Color | CornerColor (unsigned int grid_corner_index) const |
|
const ON_SurfaceCurvature | CornerCurvature (unsigned int grid_corner_index) const |
|
const ON_Plane | CornerFrame (unsigned int grid_corner_index) const |
|
const ON_3dVector | CornerNormal (unsigned int grid_corner_index) const |
|
const ON_3dPoint | CornerPoint (unsigned int grid_corner_index) const |
|
const ON_SurfaceCurvature * | CurvatureArray (ON_SubDComponentLocation subd_appearance) const |
|
unsigned | CurvatureArrayCount (ON_SubDComponentLocation subd_appearance) const |
|
size_t | CurvatureArrayStride (ON_SubDComponentLocation subd_appearance) const |
|
unsigned int | CurvatureCapacity () const |
|
unsigned int | CurvatureCount () const |
|
bool | CurvaturesExistForExperts () const |
|
bool | DeleteManagedArrays () |
|
void | Dump (ON_TextLog &text_log) const |
|
unsigned int | FaceCornerIndex () const |
|
unsigned int | FaceFragmentCount () const |
|
const ON_SubDMeshFragment * | FirstFaceFragment () const |
|
bool | GetControlNetQuad (bool bGridOrder, ON_3dPoint quad_points[4], ON_3dVector &quad_normal) const |
|
unsigned int | GetFaceFragments (const ON_SubDMeshFragment **fragments, size_t fragments_capacity) const |
|
unsigned int | GetFaceFragments (ON_SimpleArray< const ON_SubDMeshFragment * > &fragments) const |
|
unsigned | GetNormalCurvatures (const unsigned sample_count, const unsigned comb_count_params, const bool get_first_comb, const bool getKu, const bool getKv, ON_SimpleArray< ON_3dPoint > *P, ON_SimpleArray< ON_3dVector > *Kuv) const |
|
bool | GetTextureCoordinteCorners (bool bGridOrder, ON_3dPoint texture_coordinate_corners[4]) const |
|
const ON_SubDMeshFragmentGrid & | Grid (ON_SubDComponentLocation subd_appearance) const |
|
const bool | HasValidPointAndNormalGrid () const |
|
bool | InterlacedArrays () const |
| True if the memory for points, normals, textures, colors, and curvatures is interlaced. More...
|
|
bool | IsFaceCornerFragment () const |
|
bool | IsFullFaceFragment () const |
|
const ON_SubDMeshFragment * | LastFaceFragment () const |
|
bool | ManagedArrays () const |
|
const ON_SubDMeshFragment * | NextFaceFragment (bool bReturnFirstFromLast) const |
|
const double * | NormalArray (ON_SubDComponentLocation subd_appearance) const |
|
unsigned | NormalArrayCount (ON_SubDComponentLocation subd_appearance) const |
|
size_t | NormalArrayStride (ON_SubDComponentLocation subd_appearance) const |
|
unsigned int | NormalCapacity () const |
|
unsigned int | NormalCount () const |
|
const ON_2dPoint | PackRectCenter () const |
|
const ON_2dPoint | PackRectCorner (unsigned int grid_corner_index) const |
|
const double * | PointArray (ON_SubDComponentLocation subd_appearance) const |
|
unsigned | PointArrayCount (ON_SubDComponentLocation subd_appearance) const |
|
size_t | PointArrayStride (ON_SubDComponentLocation subd_appearance) const |
|
unsigned int | PointCapacity () const |
|
unsigned int | PointCount () const |
|
const ON_SubDMeshFragment * | PreviousFaceFragment (bool bReturnLastFromFirstFirst) const |
|
bool | ReserveManagedVertexCapacity (size_t vertex_capacity) |
|
bool | SetColors (ON_Color color) const |
|
void | SetColorsExistForExperts (bool bSetColorsExist) const |
|
bool | SetColorsFromCallback (const ON_MappingTag &fragment_colors_mapping_tag, const ON_SubD &subd, ON__UINT_PTR callback_context, const ON_Color(*color_callback)(ON__UINT_PTR callback_context, const ON_MappingTag &mapping_tag, const ON_SubD &subd, ON_SubDComponentPtr cptr, const ON_3dPoint &P, const ON_3dVector &N, const ON_3dPoint &T, const ON_SurfaceCurvature &K)) const |
|
void | SetControlNetQuad (bool bGridOrder, const ON_3dPoint quad_points[4], ON_3dVector quad_normal) |
|
bool | SetCurvatures (bool bLazy) const |
|
void | SetCurvaturesExistForExperts (bool bSetCurvaturesExist) const |
|
void | SetNgonFaceFragmentPackRectCorners (bool bGridOrder, const ON_2dPoint face_pack_rect_corners[4], ON_2dVector face_pack_rect_size, ON_2udex ngon_grid_size, ON_2dVector ngon_sub_pack_rect_size, ON_2dVector ngon_sub_pack_rect_delta) |
|
void | SetNgonFaceFragmentTextureCoordinateCorners (bool bGridOrder, const ON_3dPoint face_texture_coordinate_corners[4], ON_2dVector face_pack_rect_size, ON_2udex ngon_grid_size, ON_2dVector ngon_sub_pack_rect_size, ON_2dVector ngon_sub_pack_rect_delta, bool bSetTextureCoordinates) const |
|
void | SetPackedTextureCoordinates () const |
|
void | SetPackRectCornersForExperts (bool bGridOrder, const ON_2dPoint fragment_pack_rect_corners[4]) |
|
void | SetQuadOr3gonFaceFragmentPackRectCorners (bool bGridOrder, const ON_2dPoint face_pack_rect_corners[4]) |
|
void | SetQuadOr3gonFaceFragmentTextureCoordinateCorners (bool bGridOrder, const ON_3dPoint face_texture_coordinate_corners[4], bool bSetTextureCoordinates) const |
|
void | SetTextureCoordinateCornersForExperts (bool bGridOrder, const ON_3dPoint fragment_texture_coordinate_corners[4], bool bSetTextureCoordinates) const |
|
void | SetTextureCoordinatesExistForExperts (bool bTextureCoordinatesExist) const |
|
void | SetTextureCoordinatesFromCorners () const |
|
bool | SetUnmanagedVertexCapacityForExperts (size_t vertex_capacity) |
|
void | SetUnpackedTextureCoordinates () const |
|
bool | SetVertexCount (size_t vertex_count) |
|
bool | SetVertexTextureCoordinate (ON_2udex grid2dex, ON_3dPoint texture_coordinate) const |
|
bool | SetVertexTextureCoordinate (unsigned grid2dex_i, unsigned grid2dex_j, ON_3dPoint texture_coordinate) const |
|
bool | SetVertexTextureCoordinate (unsigned grid_point_index, ON_3dPoint texture_coordinate) const |
|
const ON_Plane | SideFrame (unsigned int grid_side_index) const |
|
const ON_3dVector | SideNormal (unsigned int grid_side_index) const |
|
const ON_3dPoint | SidePoint (unsigned int grid_side_index) const |
|
ON_ComponentStatus | Status () const |
|
const class ON_SubDEdge * | SubDEdge (unsigned int grid_side_index) const |
|
const class ON_SubDEdgePtr | SubDEdgePtr (unsigned int grid_side_index) const |
|
const class ON_SubDFace * | SubDFace () const |
|
const class ON_SubDVertex * | SubDVertex (unsigned int grid_corner_index) const |
|
const class ON_SubDVertexPtr | SubDVertexPtr (unsigned int grid_corner_index) const |
|
const ON_BoundingBox | SurfaceBoundingBox () const |
|
const double * | TextureCoordinateArray (ON_SubDComponentLocation subd_appearance) const |
|
unsigned | TextureCoordinateArrayCount (ON_SubDComponentLocation subd_appearance) const |
|
size_t | TextureCoordinateArrayStride (ON_SubDComponentLocation subd_appearance) const |
|
unsigned int | TextureCoordinateCapacity () const |
|
const ON_3dPoint | TextureCoordinateCorner (unsigned int grid_corner_index) const |
|
unsigned int | TextureCoordinateCount () const |
|
bool | TextureCoordinatesExistForExperts () const |
|
bool | Transform (bool bKeepTextures, bool bKeepCurvatures, bool bKeepColors, const ON_Xform &xform) |
| This version transforms the points and normals and attempts possible transformations to the curvatures, texture coordinates and colors, if they are kept: More...
|
|
bool | Transform (bool bKeepTextures, bool bKeepCurvatures, bool bKeepColors, const ON_Xform &xform, const ON_Xform &xformNormals, const ON_Xform &xformTextures, const ON_Xform &xformCurvatures, const ON_Xform &xformColors) |
| This version transforms the points, normals, curvatures, texture coordinates, and colors, if they are kept. More...
|
|
bool | Transform (const ON_Xform &xform) |
| This simple version transforms the points and normals and attempts possible transformations to the curvatures, texture coordinates and colors: More...
|
|
bool | UnmanagedArrays () const |
|
void | UnsetControlNetQuad () |
|
unsigned | VertexCapacity () const |
|
const ON_Color | VertexColor (ON_2udex grid2dex) const |
|
const ON_Color | VertexColor (unsigned grid2dex_i, unsigned grid2dex_j) const |
|
const ON_Color | VertexColor (unsigned grid_point_index) const |
|
unsigned | VertexCount () const |
|
const ON_SurfaceCurvature | VertexCurvature (ON_2udex grid2dex) const |
|
const ON_SurfaceCurvature | VertexCurvature (unsigned grid2dex_i, unsigned grid2dex_j) const |
|
const ON_SurfaceCurvature | VertexCurvature (unsigned grid_point_index) const |
|
const ON_3dVector | VertexNormal (ON_2udex grid2dex) const |
|
const ON_3dVector | VertexNormal (unsigned grid2dex_i, unsigned grid2dex_j) const |
|
const ON_3dVector | VertexNormal (unsigned grid_point_index) const |
|
const ON_3dPoint | VertexPoint (ON_2udex grid2dex) const |
|
const ON_3dPoint | VertexPoint (unsigned grid2dex_i, unsigned grid2dex_j) const |
|
const ON_3dPoint | VertexPoint (unsigned grid_point_index) const |
|
const ON_SubDFaceParameter | VertexSubDFaceParameter (ON_2udex grid2dex) const |
| Get the SubD face evaluation parameter for the SubD surface point where this vertex is located. More...
|
|
const ON_SubDFaceParameter | VertexSubDFaceParameter (unsigned grid2dex_i, unsigned grid2dex_j) const |
| Get the SubD face evaluation parameter for the SubD surface point where this vertex is located. More...
|
|
const ON_SubDFaceParameter | VertexSubDFaceParameter (unsigned grid_point_index) const |
| Get the SubD face evaluation parameter for the SubD surface point where this vertex is located. More...
|
|
const ON_3dPoint | VertexTextureCoordinate (ON_2udex grid2dex) const |
|
const ON_3dPoint | VertexTextureCoordinate (unsigned grid2dex_i, unsigned grid2dex_j) const |
|
const ON_3dPoint | VertexTextureCoordinate (unsigned grid_point_index) const |
|
const ON_3dPoint | VertexTextureCoordinateFromCorners (ON_2udex grid2dex) const |
|
const ON_3dPoint | VertexTextureCoordinateFromCorners (unsigned grid2dex_i, unsigned grid2dex_j) const |
|
const ON_3dPoint | VertexTextureCoordinateFromCorners (unsigned grid_point_index) const |
|
|
static ON_SubDManagedMeshFragment | Create (const ON_SubDMeshFragment &src) ON_NOEXCEPT |
|
static unsigned int | DisplayDensityFromSideSegmentCount (unsigned int side_segment_count) |
|
static unsigned int | FaceCountFromDisplayDensity (unsigned int display_density) |
|
static unsigned int | FullFragmentMeshPointCountFromDensity (unsigned int mesh_density) |
|
static unsigned int | FullFragmentMeshQuadCountFromDensity (unsigned int mesh_density) |
|
static bool | Get3gonFaceFragmentPackRectCorners (bool bFaceGridOrder, const ON_2dPoint face_pack_rect_corners[4], unsigned int fragment_index, bool bFragmentGridOrder, ON_2dPoint fragment_pack_rect_corners[4]) |
|
static bool | GetNgonFaceFragmentPackRectCorners (unsigned int ngon_edge_count, unsigned int ngon_fragment_index, bool bGridOrder, const ON_2dPoint face_pack_rect_corners[4], ON_2dVector face_pack_rect_size, ON_2udex ngon_grid_size, ON_2dVector ngon_sub_pack_rect_size, ON_2dVector ngon_sub_pack_rect_delta, ON_2dPoint fragment_pack_rect_corners[4]) |
|
static unsigned int | HalfFragmentMeshPointCountFromDensity (unsigned int mesh_density) |
|
static unsigned int | HalfFragmentMeshQuadCountFromDensity (unsigned int mesh_density) |
|
static unsigned int | PointCountFromDisplayDensity (unsigned int display_density) |
|
static unsigned int | QuadGridPointCountFromSideCount (unsigned int side_segment_count) |
|
static unsigned int | QuadGridQuadCountFromSideCount (unsigned int side_segment_count) |
|
static bool | SealAdjacentSides (bool bTestNearEqual, bool bCopyNormals, const ON_SubDMeshFragment &src_fragment, unsigned int i0, unsigned int i1, ON_SubDMeshFragment &dst_fragment, unsigned int j0, unsigned int j1) |
|
static bool | SealNormals (bool bTestNearEqual, const double *src, double *dst) |
|
static bool | SealPoints (bool bTestNearEqual, const double *src, double *dst) |
|
static unsigned int | SidePointCountFromSideCount (unsigned int side_segment_count) |
|
static unsigned int | SideSegmentCountFromDisplayDensity (unsigned int display_density) |
|
static bool | SideSegmentCountIsValid (unsigned int side_segment_count) |
|
static size_t | SizeofFragment (unsigned int display_density) |
|